{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "import time, json\n",
    "import pandas as pd\n",
    "from pyecharts.charts import Map\n",
    "import pyecharts.options as opts\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [],
   "source": [
    "nameMap = {\n",
    "        'China':'中国','Afghanistan':'阿富汗','Albania':'阿尔巴尼亚','Algeria':'阿尔及利亚', 'Andorra':'安道尔','Angola':'安哥拉', 'Antarctica':'南极洲',\n",
    "        'Antigua and Barbuda':'安提瓜和巴布达','Argentina':'阿根廷','Armenia':'亚美尼亚','Australia':'澳大利亚','Austria':'奥地利',\n",
    "        'Azerbaijan':'阿塞拜疆','The Bahamas':'巴哈马','Bahrain':'巴林','Bangladesh':'孟加拉','Barbados':'巴巴多斯','Belarus':'白俄罗斯',\n",
    "        'Belgium':'比利时','Belize':'伯利兹','Benin':'贝宁','Bermuda':'百慕大','Bhutan':'不丹','Bolivia':'玻利维亚','Bosnia and Herzegovina':'波黑',\n",
    "        'Botswana':'博茨瓦纳','Brazil':'巴西','Brunei':'文莱','Bulgaria':'保加利亚','Burkina Faso':'布基纳法索','Burundi':'布隆迪','Cambodia':'柬埔寨',\n",
    "        'Cameroon':'喀麦隆','Canada':'加拿大','Cape Verde':'佛得角','Central African Rep.':'中非共和国','Chad':'乍得','Chile':'智利','China':'中国',\n",
    "        'Colombia':'哥伦比亚','Comoros':'科摩罗','Republic of the Congo':'刚果（布）','Costa Rica':'哥斯达黎加','Croatia':'克罗地亚','Cuba':'古巴',\n",
    "        'Cyprus':'塞浦路斯','Czech Republic':'捷克','Djibouti':'吉布提','The Commonwealth of Dominica':'多米尼克','Dominican Republic':'多米尼加',\n",
    "        'Ecuador':'厄瓜多尔','Egypt':'埃及','El Salvador':'萨尔瓦多','Equatorial Guinea':'赤道几内亚','Eritrea':'厄立特里亚','Estonia':'爱沙尼亚',\n",
    "        'Ethiopia':'埃塞俄比亚','Falkland Islands':'福克兰群岛','Faroe Islands':'法罗群岛','Fiji':'斐济','Finland':'芬兰','France':'法国','French Guiana':'法属圭亚那',\n",
    "        'French Southern and Antarctic Lands':'法属南半球和南极领地','Gabon':'加蓬','Gambia':'冈比亚','Gaza Strip':'巴勒斯坦','Georgia':'格鲁吉亚',\n",
    "        'Germany':'德国','Ghana':'加纳','Greece':'希腊','Greenland':'丹麦','Grenada':'格林纳达','Guadeloupe':'瓜德罗普','Guatemala':'危地马拉',\n",
    "        'Guinea':'几内亚','Guinea Bissau':'几内亚比绍','Guyana':'圭亚那','Haiti':'海地','Honduras':'洪都拉斯','Hong Kong':'香港','Hungary':'匈牙利',\n",
    "        'Iceland':'冰岛','India':'印度','Indonesia':'印度尼西亚','Iran':'伊朗','Iraq':'伊拉克','Iraq-Saudi Arabia Neutral Zone':'伊拉克阿拉伯中立区',\n",
    "        'Ireland':'爱尔兰','Isle of Man':'马恩岛','Israel':'以色列','Italy':'意大利',\"Côte d'Ivoire\":\"科特迪瓦\",'Jamaica':'牙买加','Jan Mayen':'扬马延岛',\n",
    "        'Japan':'日本本土','Jordan':'约旦','Kazakhstan':'哈萨克斯坦','Kenya':'肯尼亚','Kerguelen':'凯尔盖朗群岛','Kiribati':'基里巴斯','North Korea':'北朝鲜',\n",
    "        'South Korea':'韩国','Kuwait':'科威特','Kyrgyzstan':'吉尔吉斯斯坦','Laos':'老挝','Latvia':'拉脱维亚','Lebanon':'黎巴嫩','Lesotho':'莱索托',\n",
    "        'Liberia':'利比里亚','Libya':'利比亚','Liechtenstein':'列支敦士登公国','Lithuania':'立陶宛','Luxembourg':'卢森堡','Macau':'澳门','Macedonia':'北马其顿',\n",
    "        'Madagascar':'马达加斯加','Malawi':'马拉维','Malaysia':'马来西亚','Maldives':'马尔代夫','Mali':'马里','Malta':'马耳他','Martinique':'马提尼克',\n",
    "        'Mauritania':'毛里塔尼亚','Mauritius':'毛里求斯','Mexico':'墨西哥','Moldova':'摩尔多瓦','Monaco':'摩纳哥','Mongolia':'蒙古','Morocco':'摩洛哥',\n",
    "        'Mozambique':'莫桑比克','Myanmar':'缅甸','Namibia':'纳米比亚','Nepal':'尼泊尔','Netherlands':'荷兰','New Caledonia':'新喀里多尼亚','New Zealand':'新西兰',\n",
    "        'Nicaragua':'尼加拉瓜','Niger':'尼日尔','Nigeria':'尼日利亚','Northern Mariana Islands':'北马里亚纳群岛','Norway':'挪威','Oman':'阿曼',\n",
    "        'Pakistan':'巴基斯坦','Panama':'巴拿马','Papua New Guinea':'巴布亚新几内亚','Paraguay':'巴拉圭','Peru':'秘鲁','Philippines':'菲律宾',\n",
    "        'Poland':'波兰','Portugal':'葡萄牙','Puerto Rico':'波多黎各','Qatar':'卡塔尔','Reunion':'留尼旺岛','Romania':'罗马尼亚','Russia':'俄罗斯',\n",
    "        'Rwanda':'卢旺达','San Marino':'圣马力诺','Sao Tome and Principe':'圣多美和普林西比','Saudi Arabia':'沙特阿拉伯', 'Senegal':'塞内加尔',\n",
    "        'Seychelles':'塞舌尔','Sierra Leone':'塞拉利昂','Singapore':'新加坡','Slovakia':'斯洛伐克','Slovenia':'斯洛文尼亚','Solomon Islands':'所罗门群岛',\n",
    "        'Somalia':'索马里','South Africa':'南非','Spain':'西班牙','Sri Lanka':'斯里兰卡','St. Christopher-Nevis':'圣','St. Lucia':'圣卢西亚',\n",
    "        'St. Vincent and the Grenadines':'圣文森特和格林纳丁斯','Sudan':'苏丹','Suriname':'苏里南','Svalbard':'斯瓦尔巴特群岛','Swaziland':'斯威士兰',\n",
    "        'Sweden':'瑞典','Switzerland':'瑞士','Syria':'叙利亚','Taiwan':'台湾','Tajikistan':'塔吉克斯坦','Tanzania':'坦桑尼亚',\n",
    "        'Thailand':'泰国','Togo':'多哥','Tonga':'汤加','Trinidad and Tobago':'特里尼达和多巴哥','Tunisia':'突尼斯','Turkey':'土耳其','Turkmenistan':'土库曼斯坦',\n",
    "        'Turks and Caicos Islands':'特克斯和凯科斯群岛','Uganda':'乌干达','Ukraine':'乌克兰','United Arab Emirates':'阿联酋','United Kingdom':'英国',\n",
    "        'United States':'美国','Uruguay':'乌拉圭','Uzbekistan':'乌兹别克斯坦','Vanuatu':'瓦努阿图','Venezuela':'委内瑞拉','Vietnam':'越南',\n",
    "        'Western Sahara':'西撒哈拉','Western Samoa':'西萨摩亚','Yemen':'也门','Yugoslavia':'南斯拉夫','Dem. Rep. Congo':'刚果（金）',\n",
    "        'Zambia':'赞比亚','Zimbabwe':'津巴布韦','S. Sudan':'南苏丹','Somaliland':'索马里兰','Montenegro':'黑山','Kosovo':'科索沃','Republic of Serbia':'塞尔维亚',\n",
    "        'The Federation of Saint Kitts and Nevis':'圣基茨和尼维斯','Republic of Trinidad and Tobago':'特立尼达和多巴哥','Martinique':'马提尼克岛',\n",
    "        'Democratic Republic of Timor-Leste':'东帝汶','Vatican City State':'梵蒂冈'\n",
    "        }"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>现有确诊</th>\n",
       "      <th>累计确诊</th>\n",
       "      <th>累计死亡</th>\n",
       "      <th>累计治愈</th>\n",
       "      <th>新增确诊</th>\n",
       "      <th>新增死亡</th>\n",
       "      <th>新增治愈</th>\n",
       "      <th>疑似病例</th>\n",
       "      <th>国家</th>\n",
       "      <th>洲名</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>2211</td>\n",
       "      <td>88900</td>\n",
       "      <td>4685</td>\n",
       "      <td>82004</td>\n",
       "      <td>218</td>\n",
       "      <td>2</td>\n",
       "      <td>329</td>\n",
       "      <td>2</td>\n",
       "      <td>中国</td>\n",
       "      <td>亚洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2271830</td>\n",
       "      <td>4973568</td>\n",
       "      <td>161601</td>\n",
       "      <td>2540137</td>\n",
       "      <td>55148</td>\n",
       "      <td>1311</td>\n",
       "      <td>58457</td>\n",
       "      <td>0</td>\n",
       "      <td>美国</td>\n",
       "      <td>北美洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>571456</td>\n",
       "      <td>2859073</td>\n",
       "      <td>97256</td>\n",
       "      <td>2190361</td>\n",
       "      <td>57152</td>\n",
       "      <td>1437</td>\n",
       "      <td>32808</td>\n",
       "      <td>0</td>\n",
       "      <td>巴西</td>\n",
       "      <td>南美洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>595501</td>\n",
       "      <td>1964536</td>\n",
       "      <td>40699</td>\n",
       "      <td>1328336</td>\n",
       "      <td>56282</td>\n",
       "      <td>904</td>\n",
       "      <td>46121</td>\n",
       "      <td>0</td>\n",
       "      <td>印度</td>\n",
       "      <td>亚洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>180539</td>\n",
       "      <td>870187</td>\n",
       "      <td>14579</td>\n",
       "      <td>675069</td>\n",
       "      <td>5239</td>\n",
       "      <td>114</td>\n",
       "      <td>7300</td>\n",
       "      <td>0</td>\n",
       "      <td>俄罗斯</td>\n",
       "      <td>欧洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>143313</td>\n",
       "      <td>529877</td>\n",
       "      <td>9298</td>\n",
       "      <td>377266</td>\n",
       "      <td>8559</td>\n",
       "      <td>414</td>\n",
       "      <td>13515</td>\n",
       "      <td>0</td>\n",
       "      <td>南非</td>\n",
       "      <td>非洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>44638</td>\n",
       "      <td>456100</td>\n",
       "      <td>49698</td>\n",
       "      <td>361764</td>\n",
       "      <td>6139</td>\n",
       "      <td>829</td>\n",
       "      <td>4320</td>\n",
       "      <td>0</td>\n",
       "      <td>墨西哥</td>\n",
       "      <td>北美洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>120966</td>\n",
       "      <td>447624</td>\n",
       "      <td>20228</td>\n",
       "      <td>306430</td>\n",
       "      <td>7734</td>\n",
       "      <td>221</td>\n",
       "      <td>3973</td>\n",
       "      <td>0</td>\n",
       "      <td>秘鲁</td>\n",
       "      <td>南美洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>16640</td>\n",
       "      <td>364723</td>\n",
       "      <td>9792</td>\n",
       "      <td>338291</td>\n",
       "      <td>1761</td>\n",
       "      <td>47</td>\n",
       "      <td>1961</td>\n",
       "      <td>0</td>\n",
       "      <td>智利</td>\n",
       "      <td>南美洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>127390</td>\n",
       "      <td>352847</td>\n",
       "      <td>28499</td>\n",
       "      <td>196958</td>\n",
       "      <td>2953</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>西班牙</td>\n",
       "      <td>欧洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>147773</td>\n",
       "      <td>345714</td>\n",
       "      <td>11624</td>\n",
       "      <td>186317</td>\n",
       "      <td>10735</td>\n",
       "      <td>309</td>\n",
       "      <td>6059</td>\n",
       "      <td>0</td>\n",
       "      <td>哥伦比亚</td>\n",
       "      <td>南美洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>24678</td>\n",
       "      <td>320117</td>\n",
       "      <td>17976</td>\n",
       "      <td>277463</td>\n",
       "      <td>2634</td>\n",
       "      <td>174</td>\n",
       "      <td>2531</td>\n",
       "      <td>0</td>\n",
       "      <td>伊朗</td>\n",
       "      <td>亚洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>259530</td>\n",
       "      <td>307272</td>\n",
       "      <td>46295</td>\n",
       "      <td>1447</td>\n",
       "      <td>14</td>\n",
       "      <td>0</td>\n",
       "      <td>2</td>\n",
       "      <td>0</td>\n",
       "      <td>英国</td>\n",
       "      <td>欧洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>34082</td>\n",
       "      <td>284226</td>\n",
       "      <td>3055</td>\n",
       "      <td>247089</td>\n",
       "      <td>1402</td>\n",
       "      <td>35</td>\n",
       "      <td>1775</td>\n",
       "      <td>0</td>\n",
       "      <td>沙特阿拉伯</td>\n",
       "      <td>亚洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>19770</td>\n",
       "      <td>281863</td>\n",
       "      <td>6035</td>\n",
       "      <td>256058</td>\n",
       "      <td>727</td>\n",
       "      <td>21</td>\n",
       "      <td>1772</td>\n",
       "      <td>0</td>\n",
       "      <td>巴基斯坦</td>\n",
       "      <td>亚洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>102521</td>\n",
       "      <td>249651</td>\n",
       "      <td>3306</td>\n",
       "      <td>143824</td>\n",
       "      <td>2977</td>\n",
       "      <td>39</td>\n",
       "      <td>2074</td>\n",
       "      <td>0</td>\n",
       "      <td>孟加拉</td>\n",
       "      <td>亚洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>12646</td>\n",
       "      <td>248803</td>\n",
       "      <td>35181</td>\n",
       "      <td>200976</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>意大利</td>\n",
       "      <td>欧洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>10822</td>\n",
       "      <td>236112</td>\n",
       "      <td>5784</td>\n",
       "      <td>219506</td>\n",
       "      <td>1178</td>\n",
       "      <td>19</td>\n",
       "      <td>1015</td>\n",
       "      <td>0</td>\n",
       "      <td>土耳其</td>\n",
       "      <td>亚洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>118410</td>\n",
       "      <td>231310</td>\n",
       "      <td>30308</td>\n",
       "      <td>82592</td>\n",
       "      <td>2734</td>\n",
       "      <td>11</td>\n",
       "      <td>828</td>\n",
       "      <td>0</td>\n",
       "      <td>法国</td>\n",
       "      <td>欧洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>116695</td>\n",
       "      <td>220682</td>\n",
       "      <td>4135</td>\n",
       "      <td>99852</td>\n",
       "      <td>7147</td>\n",
       "      <td>126</td>\n",
       "      <td>2904</td>\n",
       "      <td>0</td>\n",
       "      <td>阿根廷</td>\n",
       "      <td>南美洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>10168</td>\n",
       "      <td>214496</td>\n",
       "      <td>9180</td>\n",
       "      <td>195148</td>\n",
       "      <td>1060</td>\n",
       "      <td>7</td>\n",
       "      <td>692</td>\n",
       "      <td>0</td>\n",
       "      <td>德国</td>\n",
       "      <td>欧洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>34417</td>\n",
       "      <td>140603</td>\n",
       "      <td>5161</td>\n",
       "      <td>101025</td>\n",
       "      <td>3047</td>\n",
       "      <td>67</td>\n",
       "      <td>2583</td>\n",
       "      <td>0</td>\n",
       "      <td>伊拉克</td>\n",
       "      <td>亚洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>6646</td>\n",
       "      <td>120033</td>\n",
       "      <td>9010</td>\n",
       "      <td>104377</td>\n",
       "      <td>374</td>\n",
       "      <td>5</td>\n",
       "      <td>319</td>\n",
       "      <td>0</td>\n",
       "      <td>加拿大</td>\n",
       "      <td>北美洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>50473</td>\n",
       "      <td>119460</td>\n",
       "      <td>2150</td>\n",
       "      <td>66837</td>\n",
       "      <td>3480</td>\n",
       "      <td>27</td>\n",
       "      <td>567</td>\n",
       "      <td>0</td>\n",
       "      <td>菲律宾</td>\n",
       "      <td>亚洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>37587</td>\n",
       "      <td>118753</td>\n",
       "      <td>5521</td>\n",
       "      <td>75645</td>\n",
       "      <td>1882</td>\n",
       "      <td>69</td>\n",
       "      <td>1756</td>\n",
       "      <td>0</td>\n",
       "      <td>印度尼西亚</td>\n",
       "      <td>亚洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>3083</td>\n",
       "      <td>112092</td>\n",
       "      <td>178</td>\n",
       "      <td>108831</td>\n",
       "      <td>554</td>\n",
       "      <td>1</td>\n",
       "      <td>577</td>\n",
       "      <td>0</td>\n",
       "      <td>卡塔尔</td>\n",
       "      <td>亚洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>26013</td>\n",
       "      <td>95942</td>\n",
       "      <td>1058</td>\n",
       "      <td>68871</td>\n",
       "      <td>1060</td>\n",
       "      <td>0</td>\n",
       "      <td>1840</td>\n",
       "      <td>0</td>\n",
       "      <td>哈萨克斯坦</td>\n",
       "      <td>亚洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>42763</td>\n",
       "      <td>94875</td>\n",
       "      <td>4930</td>\n",
       "      <td>47182</td>\n",
       "      <td>123</td>\n",
       "      <td>18</td>\n",
       "      <td>1613</td>\n",
       "      <td>0</td>\n",
       "      <td>埃及</td>\n",
       "      <td>非洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>11851</td>\n",
       "      <td>88866</td>\n",
       "      <td>5847</td>\n",
       "      <td>71168</td>\n",
       "      <td>903</td>\n",
       "      <td>39</td>\n",
       "      <td>183</td>\n",
       "      <td>0</td>\n",
       "      <td>厄瓜多尔</td>\n",
       "      <td>南美洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>55319</td>\n",
       "      <td>85141</td>\n",
       "      <td>3385</td>\n",
       "      <td>26437</td>\n",
       "      <td>1780</td>\n",
       "      <td>65</td>\n",
       "      <td>1047</td>\n",
       "      <td>0</td>\n",
       "      <td>玻利维亚</td>\n",
       "      <td>南美洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>153</th>\n",
       "      <td>0</td>\n",
       "      <td>699</td>\n",
       "      <td>42</td>\n",
       "      <td>657</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>圣马力诺</td>\n",
       "      <td>欧洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>154</th>\n",
       "      <td>298</td>\n",
       "      <td>509</td>\n",
       "      <td>22</td>\n",
       "      <td>189</td>\n",
       "      <td>12</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>0</td>\n",
       "      <td>圭亚那</td>\n",
       "      <td>南美洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>155</th>\n",
       "      <td>305</td>\n",
       "      <td>509</td>\n",
       "      <td>21</td>\n",
       "      <td>183</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>坦桑尼亚</td>\n",
       "      <td>非洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>156</th>\n",
       "      <td>90</td>\n",
       "      <td>395</td>\n",
       "      <td>1</td>\n",
       "      <td>304</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>布隆迪</td>\n",
       "      <td>非洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>157</th>\n",
       "      <td>41</td>\n",
       "      <td>388</td>\n",
       "      <td>7</td>\n",
       "      <td>340</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>科摩罗</td>\n",
       "      <td>非洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>158</th>\n",
       "      <td>43</td>\n",
       "      <td>357</td>\n",
       "      <td>6</td>\n",
       "      <td>308</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>0</td>\n",
       "      <td>缅甸</td>\n",
       "      <td>亚洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159</th>\n",
       "      <td>0</td>\n",
       "      <td>344</td>\n",
       "      <td>10</td>\n",
       "      <td>334</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>毛里求斯</td>\n",
       "      <td>非洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>160</th>\n",
       "      <td>33</td>\n",
       "      <td>293</td>\n",
       "      <td>0</td>\n",
       "      <td>260</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>16</td>\n",
       "      <td>0</td>\n",
       "      <td>蒙古</td>\n",
       "      <td>亚洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>161</th>\n",
       "      <td>57</td>\n",
       "      <td>282</td>\n",
       "      <td>0</td>\n",
       "      <td>225</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>厄立特里亚</td>\n",
       "      <td>非洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>162</th>\n",
       "      <td>33</td>\n",
       "      <td>243</td>\n",
       "      <td>0</td>\n",
       "      <td>210</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>8</td>\n",
       "      <td>0</td>\n",
       "      <td>柬埔寨</td>\n",
       "      <td>亚洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>163</th>\n",
       "      <td>64</td>\n",
       "      <td>207</td>\n",
       "      <td>8</td>\n",
       "      <td>135</td>\n",
       "      <td>10</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>特立尼达和多巴哥</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>164</th>\n",
       "      <td>107</td>\n",
       "      <td>163</td>\n",
       "      <td>3</td>\n",
       "      <td>53</td>\n",
       "      <td>10</td>\n",
       "      <td>1</td>\n",
       "      <td>9</td>\n",
       "      <td>0</td>\n",
       "      <td>巴布亚新几内亚</td>\n",
       "      <td>大洋洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>165</th>\n",
       "      <td>0</td>\n",
       "      <td>141</td>\n",
       "      <td>3</td>\n",
       "      <td>138</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>文莱</td>\n",
       "      <td>亚洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>166</th>\n",
       "      <td>26</td>\n",
       "      <td>133</td>\n",
       "      <td>7</td>\n",
       "      <td>100</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>2</td>\n",
       "      <td>0</td>\n",
       "      <td>巴巴多斯</td>\n",
       "      <td>北美洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>167</th>\n",
       "      <td>2</td>\n",
       "      <td>126</td>\n",
       "      <td>0</td>\n",
       "      <td>124</td>\n",
       "      <td>12</td>\n",
       "      <td>0</td>\n",
       "      <td>11</td>\n",
       "      <td>0</td>\n",
       "      <td>塞舌尔</td>\n",
       "      <td>非洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>168</th>\n",
       "      <td>16</td>\n",
       "      <td>125</td>\n",
       "      <td>4</td>\n",
       "      <td>105</td>\n",
       "      <td>2</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>摩纳哥</td>\n",
       "      <td>欧洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>169</th>\n",
       "      <td>12</td>\n",
       "      <td>105</td>\n",
       "      <td>0</td>\n",
       "      <td>93</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>不丹</td>\n",
       "      <td>亚洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>170</th>\n",
       "      <td>13</td>\n",
       "      <td>92</td>\n",
       "      <td>3</td>\n",
       "      <td>76</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>安提瓜和巴布达</td>\n",
       "      <td>北美洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>171</th>\n",
       "      <td>3</td>\n",
       "      <td>89</td>\n",
       "      <td>1</td>\n",
       "      <td>85</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>列支敦士登公国</td>\n",
       "      <td>欧洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>172</th>\n",
       "      <td>53</td>\n",
       "      <td>86</td>\n",
       "      <td>2</td>\n",
       "      <td>31</td>\n",
       "      <td>14</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>伯利兹</td>\n",
       "      <td>北美洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>173</th>\n",
       "      <td>10</td>\n",
       "      <td>56</td>\n",
       "      <td>0</td>\n",
       "      <td>46</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>圣文森特和格林纳丁斯</td>\n",
       "      <td>北美洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>174</th>\n",
       "      <td>36</td>\n",
       "      <td>37</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>马提尼克岛</td>\n",
       "      <td>北美洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>175</th>\n",
       "      <td>8</td>\n",
       "      <td>27</td>\n",
       "      <td>1</td>\n",
       "      <td>18</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>斐济</td>\n",
       "      <td>大洋洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>176</th>\n",
       "      <td>1</td>\n",
       "      <td>25</td>\n",
       "      <td>0</td>\n",
       "      <td>24</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>东帝汶</td>\n",
       "      <td>亚洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>177</th>\n",
       "      <td>1</td>\n",
       "      <td>25</td>\n",
       "      <td>0</td>\n",
       "      <td>24</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>2</td>\n",
       "      <td>0</td>\n",
       "      <td>圣卢西亚</td>\n",
       "      <td>北美洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>178</th>\n",
       "      <td>1</td>\n",
       "      <td>24</td>\n",
       "      <td>0</td>\n",
       "      <td>23</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>格林纳达</td>\n",
       "      <td>北美洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>179</th>\n",
       "      <td>1</td>\n",
       "      <td>20</td>\n",
       "      <td>0</td>\n",
       "      <td>19</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>老挝</td>\n",
       "      <td>亚洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>180</th>\n",
       "      <td>0</td>\n",
       "      <td>18</td>\n",
       "      <td>0</td>\n",
       "      <td>18</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>多米尼克</td>\n",
       "      <td>北美洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>181</th>\n",
       "      <td>1</td>\n",
       "      <td>17</td>\n",
       "      <td>0</td>\n",
       "      <td>16</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>圣基茨和尼维斯</td>\n",
       "      <td>北美洲</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>182</th>\n",
       "      <td>0</td>\n",
       "      <td>12</td>\n",
       "      <td>0</td>\n",
       "      <td>12</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>梵蒂冈</td>\n",
       "      <td>欧洲</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>183 rows × 10 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "        现有确诊     累计确诊    累计死亡     累计治愈   新增确诊  新增死亡   新增治愈  疑似病例       国家   洲名\n",
       "0       2211    88900    4685    82004    218     2    329     2       中国   亚洲\n",
       "1    2271830  4973568  161601  2540137  55148  1311  58457     0       美国  北美洲\n",
       "2     571456  2859073   97256  2190361  57152  1437  32808     0       巴西  南美洲\n",
       "3     595501  1964536   40699  1328336  56282   904  46121     0       印度   亚洲\n",
       "4     180539   870187   14579   675069   5239   114   7300     0      俄罗斯   欧洲\n",
       "..       ...      ...     ...      ...    ...   ...    ...   ...      ...  ...\n",
       "178        1       24       0       23      0     0      0     0     格林纳达  北美洲\n",
       "179        1       20       0       19      0     0      0     0       老挝   亚洲\n",
       "180        0       18       0       18      0     0      0     0     多米尼克  北美洲\n",
       "181        1       17       0       16      0     0      0     0  圣基茨和尼维斯  北美洲\n",
       "182        0       12       0       12      0     0      0     0      梵蒂冈   欧洲\n",
       "\n",
       "[183 rows x 10 columns]"
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "world_data = pd.read_csv('./world_country_data.csv', encoding='gbk')\n",
    "world_data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['China',\n",
       " 'United States',\n",
       " 'Brazil',\n",
       " 'India',\n",
       " 'Russia',\n",
       " 'South Africa',\n",
       " 'Mexico',\n",
       " 'Peru',\n",
       " 'Chile',\n",
       " 'Spain',\n",
       " 'Colombia',\n",
       " 'Iran',\n",
       " 'United Kingdom',\n",
       " 'Saudi Arabia',\n",
       " 'Pakistan',\n",
       " 'Bangladesh',\n",
       " 'Italy',\n",
       " 'Turkey',\n",
       " 'France',\n",
       " 'Argentina',\n",
       " 'Germany',\n",
       " 'Iraq',\n",
       " 'Canada',\n",
       " 'Philippines',\n",
       " 'Indonesia',\n",
       " 'Qatar',\n",
       " 'Kazakhstan',\n",
       " 'Egypt',\n",
       " 'Ecuador',\n",
       " 'Bolivia',\n",
       " 'Sweden',\n",
       " 'Oman',\n",
       " 'Ukraine',\n",
       " 'Israel',\n",
       " 'Dominican Republic',\n",
       " 'Belgium',\n",
       " 'Panama',\n",
       " 'Kuwait',\n",
       " 'Belarus',\n",
       " 'United Arab Emirates',\n",
       " 'Romania',\n",
       " 'Netherlands',\n",
       " 'Singapore',\n",
       " 'Guatemala',\n",
       " 'Portugal',\n",
       " 'Poland',\n",
       " 'Honduras',\n",
       " 'Nigeria',\n",
       " 'Japan',\n",
       " 'Bahrain',\n",
       " 'Armenia',\n",
       " 'Ghana',\n",
       " 'Kyrgyzstan',\n",
       " 'Afghanistan',\n",
       " 'Switzerland',\n",
       " 'Azerbaijan',\n",
       " 'Algeria',\n",
       " 'Morocco',\n",
       " 'Uzbekistan',\n",
       " 'Republic of Serbia',\n",
       " 'Moldova',\n",
       " 'Ireland',\n",
       " 'Kenya',\n",
       " 'Venezuela',\n",
       " 'Nepal',\n",
       " 'Austria',\n",
       " 'Costa Rica',\n",
       " 'Ethiopia',\n",
       " 'Australia',\n",
       " 'El Salvador',\n",
       " 'Cameroon',\n",
       " 'Czech Republic',\n",
       " \"Côte d'Ivoire\",\n",
       " 'Greenland',\n",
       " 'South Korea',\n",
       " 'Gaza Strip',\n",
       " 'Bosnia and Herzegovina',\n",
       " 'Bulgaria',\n",
       " 'Madagascar',\n",
       " 'Sudan',\n",
       " 'Macedonia',\n",
       " 'Senegal',\n",
       " 'Norway',\n",
       " 'Dem. Rep. Congo',\n",
       " 'Malaysia',\n",
       " 'Gabon',\n",
       " 'Tajikistan',\n",
       " 'Guinea',\n",
       " 'Haiti',\n",
       " 'Finland',\n",
       " 'Zambia',\n",
       " 'Luxembourg',\n",
       " 'Mauritania',\n",
       " 'Paraguay',\n",
       " 'Albania',\n",
       " 'Lebanon',\n",
       " 'Croatia',\n",
       " 'Djibouti',\n",
       " 'Greece',\n",
       " 'Equatorial Guinea',\n",
       " 'Central African Rep.',\n",
       " 'Hungary',\n",
       " 'Maldives',\n",
       " 'Libya',\n",
       " 'Malawi',\n",
       " 'Zimbabwe',\n",
       " 'Nicaragua',\n",
       " 'Republic of the Congo',\n",
       " 'Montenegro',\n",
       " 'Thailand',\n",
       " 'Somalia',\n",
       " 'Swaziland',\n",
       " 'Sri Lanka',\n",
       " 'Cuba',\n",
       " 'Cape Verde',\n",
       " 'Mali',\n",
       " 'Namibia',\n",
       " 'Slovakia',\n",
       " 'Slovenia',\n",
       " 'Lithuania',\n",
       " 'Estonia',\n",
       " 'Rwanda',\n",
       " 'Mozambique',\n",
       " 'Suriname',\n",
       " 'Guinea Bissau',\n",
       " 'Benin',\n",
       " 'Iceland',\n",
       " 'Sierra Leone',\n",
       " 'Yemen',\n",
       " 'Tunisia',\n",
       " 'New Zealand',\n",
       " 'Angola',\n",
       " 'Uruguay',\n",
       " 'Latvia',\n",
       " 'Jordan',\n",
       " 'Liberia',\n",
       " 'Uganda',\n",
       " 'Georgia',\n",
       " 'Cyprus',\n",
       " 'Burkina Faso',\n",
       " 'Niger',\n",
       " 'Togo',\n",
       " 'Malta',\n",
       " 'Andorra',\n",
       " 'Syria',\n",
       " 'Chad',\n",
       " 'Gambia',\n",
       " 'Jamaica',\n",
       " 'Botswana',\n",
       " 'The Bahamas',\n",
       " 'Vietnam',\n",
       " 'Lesotho',\n",
       " 'San Marino',\n",
       " 'Guyana',\n",
       " 'Tanzania',\n",
       " 'Burundi',\n",
       " 'Comoros',\n",
       " 'Myanmar',\n",
       " 'Mauritius',\n",
       " 'Mongolia',\n",
       " 'Eritrea',\n",
       " 'Cambodia',\n",
       " 'Republic of Trinidad and Tobago',\n",
       " 'Papua New Guinea',\n",
       " 'Brunei',\n",
       " 'Barbados',\n",
       " 'Seychelles',\n",
       " 'Monaco',\n",
       " 'Bhutan',\n",
       " 'Antigua and Barbuda',\n",
       " 'Liechtenstein',\n",
       " 'Belize',\n",
       " 'St. Vincent and the Grenadines',\n",
       " 'Martinique',\n",
       " 'Fiji',\n",
       " 'Democratic Republic of Timor-Leste',\n",
       " 'St. Lucia',\n",
       " 'Grenada',\n",
       " 'Laos',\n",
       " 'The Commonwealth of Dominica',\n",
       " 'The Federation of Saint Kitts and Nevis',\n",
       " 'Vatican City State']"
      ]
     },
     "execution_count": 5,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "data = world_data.loc[world_data['洲名'] != '其他', :].reset_index()\n",
    "dic = {}\n",
    "country_names = []\n",
    "    # 键值互换\n",
    "for key, value in nameMap.items():\n",
    "    dic[value] = key\n",
    "    # 取出中文对应的英文到列表中\n",
    "for i in range(len(data['国家'])):\n",
    "    country_name = dic[data['国家'][i]]\n",
    "    country_names.append(country_name)\n",
    "country_names"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts':'https://assets.pyecharts.org/assets/echarts.min', 'world':'https://assets.pyecharts.org/assets/maps/world'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "\n",
       "        <div id=\"aaa811eb2dcb4c47ac3b3e89cf1fb031\" style=\"width:1300px; height:800px;\"></div>\n",
       "\n",
       "<script>\n",
       "        require(['echarts', 'world'], function(echarts) {\n",
       "                var chart_aaa811eb2dcb4c47ac3b3e89cf1fb031 = echarts.init(\n",
       "                    document.getElementById('aaa811eb2dcb4c47ac3b3e89cf1fb031'), 'white', {renderer: 'canvas'});\n",
       "                var option_aaa811eb2dcb4c47ac3b3e89cf1fb031 = {\n",
       "    \"animation\": true,\n",
       "    \"animationThreshold\": 2000,\n",
       "    \"animationDuration\": 1000,\n",
       "    \"animationEasing\": \"cubicOut\",\n",
       "    \"animationDelay\": 0,\n",
       "    \"animationDurationUpdate\": 300,\n",
       "    \"animationEasingUpdate\": \"cubicOut\",\n",
       "    \"animationDelayUpdate\": 0,\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\"\n",
       "    ],\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"map\",\n",
       "            \"label\": {\n",
       "                \"show\": false,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            },\n",
       "            \"mapType\": \"world\",\n",
       "            \"data\": [\n",
       "                {\n",
       "                    \"name\": \"China\",\n",
       "                    \"value\": 88900\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"United States\",\n",
       "                    \"value\": 4973568\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Brazil\",\n",
       "                    \"value\": 2859073\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"India\",\n",
       "                    \"value\": 1964536\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Russia\",\n",
       "                    \"value\": 870187\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"South Africa\",\n",
       "                    \"value\": 529877\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mexico\",\n",
       "                    \"value\": 456100\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Peru\",\n",
       "                    \"value\": 447624\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Chile\",\n",
       "                    \"value\": 364723\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Spain\",\n",
       "                    \"value\": 352847\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Colombia\",\n",
       "                    \"value\": 345714\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Iran\",\n",
       "                    \"value\": 320117\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"United Kingdom\",\n",
       "                    \"value\": 307272\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Saudi Arabia\",\n",
       "                    \"value\": 284226\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Pakistan\",\n",
       "                    \"value\": 281863\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bangladesh\",\n",
       "                    \"value\": 249651\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Italy\",\n",
       "                    \"value\": 248803\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Turkey\",\n",
       "                    \"value\": 236112\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"France\",\n",
       "                    \"value\": 231310\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Argentina\",\n",
       "                    \"value\": 220682\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Germany\",\n",
       "                    \"value\": 214496\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Iraq\",\n",
       "                    \"value\": 140603\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Canada\",\n",
       "                    \"value\": 120033\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Philippines\",\n",
       "                    \"value\": 119460\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Indonesia\",\n",
       "                    \"value\": 118753\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Qatar\",\n",
       "                    \"value\": 112092\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Kazakhstan\",\n",
       "                    \"value\": 95942\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Egypt\",\n",
       "                    \"value\": 94875\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ecuador\",\n",
       "                    \"value\": 88866\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bolivia\",\n",
       "                    \"value\": 85141\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Sweden\",\n",
       "                    \"value\": 81967\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Oman\",\n",
       "                    \"value\": 80713\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ukraine\",\n",
       "                    \"value\": 78515\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Israel\",\n",
       "                    \"value\": 78514\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Dominican Republic\",\n",
       "                    \"value\": 75660\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Belgium\",\n",
       "                    \"value\": 71158\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Panama\",\n",
       "                    \"value\": 70231\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Kuwait\",\n",
       "                    \"value\": 70045\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Belarus\",\n",
       "                    \"value\": 68503\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"United Arab Emirates\",\n",
       "                    \"value\": 61606\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Romania\",\n",
       "                    \"value\": 57895\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Netherlands\",\n",
       "                    \"value\": 57357\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Singapore\",\n",
       "                    \"value\": 54555\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Guatemala\",\n",
       "                    \"value\": 53509\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Portugal\",\n",
       "                    \"value\": 52061\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Poland\",\n",
       "                    \"value\": 49515\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Honduras\",\n",
       "                    \"value\": 45098\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Nigeria\",\n",
       "                    \"value\": 44890\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Japan\",\n",
       "                    \"value\": 44155\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bahrain\",\n",
       "                    \"value\": 42514\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Armenia\",\n",
       "                    \"value\": 39819\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ghana\",\n",
       "                    \"value\": 39642\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Kyrgyzstan\",\n",
       "                    \"value\": 38659\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Afghanistan\",\n",
       "                    \"value\": 36896\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Switzerland\",\n",
       "                    \"value\": 36108\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Azerbaijan\",\n",
       "                    \"value\": 33247\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Algeria\",\n",
       "                    \"value\": 33055\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Morocco\",\n",
       "                    \"value\": 28500\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Uzbekistan\",\n",
       "                    \"value\": 28315\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Republic of Serbia\",\n",
       "                    \"value\": 27332\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Moldova\",\n",
       "                    \"value\": 26628\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ireland\",\n",
       "                    \"value\": 26303\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Kenya\",\n",
       "                    \"value\": 23873\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Venezuela\",\n",
       "                    \"value\": 22299\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Nepal\",\n",
       "                    \"value\": 21750\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Austria\",\n",
       "                    \"value\": 21696\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Costa Rica\",\n",
       "                    \"value\": 20417\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ethiopia\",\n",
       "                    \"value\": 20336\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Australia\",\n",
       "                    \"value\": 19863\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"El Salvador\",\n",
       "                    \"value\": 18701\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cameroon\",\n",
       "                    \"value\": 17718\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Czech Republic\",\n",
       "                    \"value\": 17529\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"C\\u00f4te d'Ivoire\",\n",
       "                    \"value\": 16349\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Greenland\",\n",
       "                    \"value\": 14561\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"South Korea\",\n",
       "                    \"value\": 14499\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Gaza Strip\",\n",
       "                    \"value\": 13398\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bosnia and Herzegovina\",\n",
       "                    \"value\": 13306\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bulgaria\",\n",
       "                    \"value\": 12717\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Madagascar\",\n",
       "                    \"value\": 12526\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Sudan\",\n",
       "                    \"value\": 11780\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Macedonia\",\n",
       "                    \"value\": 11399\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Senegal\",\n",
       "                    \"value\": 10715\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Norway\",\n",
       "                    \"value\": 9444\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Dem. Rep. Congo\",\n",
       "                    \"value\": 9309\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Malaysia\",\n",
       "                    \"value\": 9038\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Gabon\",\n",
       "                    \"value\": 7787\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Tajikistan\",\n",
       "                    \"value\": 7665\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Guinea\",\n",
       "                    \"value\": 7575\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Haiti\",\n",
       "                    \"value\": 7544\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Finland\",\n",
       "                    \"value\": 7532\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Zambia\",\n",
       "                    \"value\": 7022\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Luxembourg\",\n",
       "                    \"value\": 7007\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mauritania\",\n",
       "                    \"value\": 6444\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Paraguay\",\n",
       "                    \"value\": 6060\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Albania\",\n",
       "                    \"value\": 5889\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Lebanon\",\n",
       "                    \"value\": 5417\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Croatia\",\n",
       "                    \"value\": 5404\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Djibouti\",\n",
       "                    \"value\": 5330\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Greece\",\n",
       "                    \"value\": 4974\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Equatorial Guinea\",\n",
       "                    \"value\": 4821\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Central African Rep.\",\n",
       "                    \"value\": 4618\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Hungary\",\n",
       "                    \"value\": 4597\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Maldives\",\n",
       "                    \"value\": 4594\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Libya\",\n",
       "                    \"value\": 4475\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Malawi\",\n",
       "                    \"value\": 4426\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Zimbabwe\",\n",
       "                    \"value\": 4339\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Nicaragua\",\n",
       "                    \"value\": 3902\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Republic of the Congo\",\n",
       "                    \"value\": 3546\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Montenegro\",\n",
       "                    \"value\": 3411\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Thailand\",\n",
       "                    \"value\": 3330\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Somalia\",\n",
       "                    \"value\": 3227\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Swaziland\",\n",
       "                    \"value\": 2909\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Sri Lanka\",\n",
       "                    \"value\": 2839\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cuba\",\n",
       "                    \"value\": 2726\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cape Verde\",\n",
       "                    \"value\": 2689\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mali\",\n",
       "                    \"value\": 2546\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Namibia\",\n",
       "                    \"value\": 2540\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Slovakia\",\n",
       "                    \"value\": 2480\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Slovenia\",\n",
       "                    \"value\": 2223\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Lithuania\",\n",
       "                    \"value\": 2171\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Estonia\",\n",
       "                    \"value\": 2124\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Rwanda\",\n",
       "                    \"value\": 2104\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mozambique\",\n",
       "                    \"value\": 2079\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Suriname\",\n",
       "                    \"value\": 2050\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Guinea Bissau\",\n",
       "                    \"value\": 2032\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Benin\",\n",
       "                    \"value\": 1936\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Iceland\",\n",
       "                    \"value\": 1932\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Sierra Leone\",\n",
       "                    \"value\": 1860\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Yemen\",\n",
       "                    \"value\": 1763\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Tunisia\",\n",
       "                    \"value\": 1601\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"New Zealand\",\n",
       "                    \"value\": 1569\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Angola\",\n",
       "                    \"value\": 1395\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Uruguay\",\n",
       "                    \"value\": 1309\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Latvia\",\n",
       "                    \"value\": 1275\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Jordan\",\n",
       "                    \"value\": 1231\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Liberia\",\n",
       "                    \"value\": 1224\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Uganda\",\n",
       "                    \"value\": 1223\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Georgia\",\n",
       "                    \"value\": 1206\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cyprus\",\n",
       "                    \"value\": 1195\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Burkina Faso\",\n",
       "                    \"value\": 1158\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Niger\",\n",
       "                    \"value\": 1152\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Togo\",\n",
       "                    \"value\": 1001\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Malta\",\n",
       "                    \"value\": 946\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Andorra\",\n",
       "                    \"value\": 944\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Syria\",\n",
       "                    \"value\": 944\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Chad\",\n",
       "                    \"value\": 939\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Gambia\",\n",
       "                    \"value\": 935\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Jamaica\",\n",
       "                    \"value\": 928\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Botswana\",\n",
       "                    \"value\": 804\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"The Bahamas\",\n",
       "                    \"value\": 751\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Vietnam\",\n",
       "                    \"value\": 747\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Lesotho\",\n",
       "                    \"value\": 742\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"San Marino\",\n",
       "                    \"value\": 699\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Guyana\",\n",
       "                    \"value\": 509\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Tanzania\",\n",
       "                    \"value\": 509\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Burundi\",\n",
       "                    \"value\": 395\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Comoros\",\n",
       "                    \"value\": 388\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Myanmar\",\n",
       "                    \"value\": 357\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mauritius\",\n",
       "                    \"value\": 344\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mongolia\",\n",
       "                    \"value\": 293\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Eritrea\",\n",
       "                    \"value\": 282\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cambodia\",\n",
       "                    \"value\": 243\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Republic of Trinidad and Tobago\",\n",
       "                    \"value\": 207\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Papua New Guinea\",\n",
       "                    \"value\": 163\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Brunei\",\n",
       "                    \"value\": 141\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Barbados\",\n",
       "                    \"value\": 133\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Seychelles\",\n",
       "                    \"value\": 126\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Monaco\",\n",
       "                    \"value\": 125\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bhutan\",\n",
       "                    \"value\": 105\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Antigua and Barbuda\",\n",
       "                    \"value\": 92\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Liechtenstein\",\n",
       "                    \"value\": 89\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Belize\",\n",
       "                    \"value\": 86\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"St. Vincent and the Grenadines\",\n",
       "                    \"value\": 56\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Martinique\",\n",
       "                    \"value\": 37\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Fiji\",\n",
       "                    \"value\": 27\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Democratic Republic of Timor-Leste\",\n",
       "                    \"value\": 25\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"St. Lucia\",\n",
       "                    \"value\": 25\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Grenada\",\n",
       "                    \"value\": 24\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Laos\",\n",
       "                    \"value\": 20\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"The Commonwealth of Dominica\",\n",
       "                    \"value\": 18\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"The Federation of Saint Kitts and Nevis\",\n",
       "                    \"value\": 17\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Vatican City State\",\n",
       "                    \"value\": 12\n",
       "                }\n",
       "            ],\n",
       "            \"roam\": true,\n",
       "            \"zoom\": 1,\n",
       "            \"showLegendSymbol\": true,\n",
       "            \"emphasis\": {}\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                \"\"\n",
       "            ],\n",
       "            \"selected\": {\n",
       "                \"\": true\n",
       "            },\n",
       "            \"show\": true,\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10,\n",
       "            \"itemWidth\": 25,\n",
       "            \"itemHeight\": 14\n",
       "        }\n",
       "    ],\n",
       "    \"tooltip\": {\n",
       "        \"show\": true,\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"formatter\": \"{b}: {c}\",\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"borderWidth\": 0\n",
       "    },\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"text\": \"\\u4e16\\u754c\\u75ab\\u60c5\\u5206\\u5e03\\u56fe\\uff08\\u7d2f\\u79ef\\u786e\\u8bca\\uff09\",\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10\n",
       "        }\n",
       "    ],\n",
       "    \"visualMap\": {\n",
       "        \"show\": true,\n",
       "        \"type\": \"piecewise\",\n",
       "        \"min\": 0,\n",
       "        \"max\": 100,\n",
       "        \"inRange\": {\n",
       "            \"color\": [\n",
       "                \"#50a3ba\",\n",
       "                \"#eac763\",\n",
       "                \"#d94e5d\"\n",
       "            ]\n",
       "        },\n",
       "        \"calculable\": true,\n",
       "        \"inverse\": false,\n",
       "        \"splitNumber\": 5,\n",
       "        \"orient\": \"vertical\",\n",
       "        \"top\": \"center\",\n",
       "        \"showLabel\": true,\n",
       "        \"itemWidth\": 20,\n",
       "        \"itemHeight\": 14,\n",
       "        \"borderWidth\": 0,\n",
       "        \"pieces\": [\n",
       "            {\n",
       "                \"min\": 1000000,\n",
       "                \"color\": \"#7f1818\"\n",
       "            },\n",
       "            {\n",
       "                \"min\": 100000,\n",
       "                \"max\": 999999\n",
       "            },\n",
       "            {\n",
       "                \"min\": 10000,\n",
       "                \"max\": 99999\n",
       "            },\n",
       "            {\n",
       "                \"min\": 1000,\n",
       "                \"max\": 9999\n",
       "            },\n",
       "            {\n",
       "                \"min\": 500,\n",
       "                \"max\": 999\n",
       "            },\n",
       "            {\n",
       "                \"min\": 0,\n",
       "                \"max\": 499\n",
       "            }\n",
       "        ]\n",
       "    }\n",
       "};\n",
       "                chart_aaa811eb2dcb4c47ac3b3e89cf1fb031.setOption(option_aaa811eb2dcb4c47ac3b3e89cf1fb031);\n",
       "        });\n",
       "    </script>\n"
      ],
      "text/plain": [
       "<pyecharts.render.display.HTML at 0x2b06384c7b8>"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "##世界疫情分布图（累积确诊）\n",
    "list_data = zip(country_names, list(data['累计确诊']))\n",
    "m=(\n",
    "    Map(init_opts=opts.InitOpts(width='1300px',height='800px'))\n",
    "    .add('', list_data, 'world',label_opts=opts.LabelOpts(is_show=False))\n",
    "    .set_global_opts(\n",
    "        title_opts=opts.TitleOpts(title='世界疫情分布图（累积确诊）'),\n",
    "        tooltip_opts=opts.TooltipOpts(formatter='{b}: {c}'),\n",
    "        visualmap_opts=opts.VisualMapOpts(is_piecewise=True,  # 是否为分段型\n",
    "                                          pos_top='center',\n",
    "                                          pieces=[\n",
    "                                              {'min': 1000000, 'color': '#7f1818'},  # 不指定 max\n",
    "                                              {'min': 100000, 'max': 999999},\n",
    "                                              {'min': 10000, 'max': 99999},\n",
    "                                              {'min': 1000, 'max': 9999},\n",
    "                                              {'min': 500, 'max': 999},\n",
    "                                              {'min': 0, 'max': 499}],\n",
    "                                            ),\n",
    "        )\n",
    ")\n",
    "m.render('世界疫情分布图（累积确诊）.html')\n",
    "m.render_notebook()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "###世界疫情分布图（累积确诊）可以看出，累计确诊人数超过1000000的有3个国家，分别是美国：4973568人，巴西：2859073人，印度：1964536人"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts':'https://assets.pyecharts.org/assets/echarts.min', 'world':'https://assets.pyecharts.org/assets/maps/world'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "\n",
       "        <div id=\"1599010d8e3f48b3be7b83dcbf313c4f\" style=\"width:1300px; height:800px;\"></div>\n",
       "\n",
       "<script>\n",
       "        require(['echarts', 'world'], function(echarts) {\n",
       "                var chart_1599010d8e3f48b3be7b83dcbf313c4f = echarts.init(\n",
       "                    document.getElementById('1599010d8e3f48b3be7b83dcbf313c4f'), 'white', {renderer: 'canvas'});\n",
       "                var option_1599010d8e3f48b3be7b83dcbf313c4f = {\n",
       "    \"animation\": true,\n",
       "    \"animationThreshold\": 2000,\n",
       "    \"animationDuration\": 1000,\n",
       "    \"animationEasing\": \"cubicOut\",\n",
       "    \"animationDelay\": 0,\n",
       "    \"animationDurationUpdate\": 300,\n",
       "    \"animationEasingUpdate\": \"cubicOut\",\n",
       "    \"animationDelayUpdate\": 0,\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\"\n",
       "    ],\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"map\",\n",
       "            \"label\": {\n",
       "                \"show\": false,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            },\n",
       "            \"mapType\": \"world\",\n",
       "            \"data\": [\n",
       "                {\n",
       "                    \"name\": \"China\",\n",
       "                    \"value\": 4685\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"United States\",\n",
       "                    \"value\": 161601\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Brazil\",\n",
       "                    \"value\": 97256\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"India\",\n",
       "                    \"value\": 40699\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Russia\",\n",
       "                    \"value\": 14579\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"South Africa\",\n",
       "                    \"value\": 9298\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mexico\",\n",
       "                    \"value\": 49698\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Peru\",\n",
       "                    \"value\": 20228\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Chile\",\n",
       "                    \"value\": 9792\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Spain\",\n",
       "                    \"value\": 28499\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Colombia\",\n",
       "                    \"value\": 11624\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Iran\",\n",
       "                    \"value\": 17976\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"United Kingdom\",\n",
       "                    \"value\": 46295\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Saudi Arabia\",\n",
       "                    \"value\": 3055\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Pakistan\",\n",
       "                    \"value\": 6035\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bangladesh\",\n",
       "                    \"value\": 3306\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Italy\",\n",
       "                    \"value\": 35181\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Turkey\",\n",
       "                    \"value\": 5784\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"France\",\n",
       "                    \"value\": 30308\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Argentina\",\n",
       "                    \"value\": 4135\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Germany\",\n",
       "                    \"value\": 9180\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Iraq\",\n",
       "                    \"value\": 5161\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Canada\",\n",
       "                    \"value\": 9010\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Philippines\",\n",
       "                    \"value\": 2150\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Indonesia\",\n",
       "                    \"value\": 5521\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Qatar\",\n",
       "                    \"value\": 178\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Kazakhstan\",\n",
       "                    \"value\": 1058\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Egypt\",\n",
       "                    \"value\": 4930\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ecuador\",\n",
       "                    \"value\": 5847\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bolivia\",\n",
       "                    \"value\": 3385\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Sweden\",\n",
       "                    \"value\": 5766\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Oman\",\n",
       "                    \"value\": 492\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ukraine\",\n",
       "                    \"value\": 1846\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Israel\",\n",
       "                    \"value\": 569\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Dominican Republic\",\n",
       "                    \"value\": 1222\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Belgium\",\n",
       "                    \"value\": 9859\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Panama\",\n",
       "                    \"value\": 1553\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Kuwait\",\n",
       "                    \"value\": 469\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Belarus\",\n",
       "                    \"value\": 580\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"United Arab Emirates\",\n",
       "                    \"value\": 353\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Romania\",\n",
       "                    \"value\": 2566\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Netherlands\",\n",
       "                    \"value\": 6173\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Singapore\",\n",
       "                    \"value\": 27\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Guatemala\",\n",
       "                    \"value\": 2072\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Portugal\",\n",
       "                    \"value\": 1743\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Poland\",\n",
       "                    \"value\": 1774\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Honduras\",\n",
       "                    \"value\": 1423\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Nigeria\",\n",
       "                    \"value\": 927\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Japan\",\n",
       "                    \"value\": 1034\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bahrain\",\n",
       "                    \"value\": 156\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Armenia\",\n",
       "                    \"value\": 772\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ghana\",\n",
       "                    \"value\": 199\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Kyrgyzstan\",\n",
       "                    \"value\": 1447\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Afghanistan\",\n",
       "                    \"value\": 1298\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Switzerland\",\n",
       "                    \"value\": 1985\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Azerbaijan\",\n",
       "                    \"value\": 479\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Algeria\",\n",
       "                    \"value\": 1261\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Morocco\",\n",
       "                    \"value\": 435\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Uzbekistan\",\n",
       "                    \"value\": 175\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Republic of Serbia\",\n",
       "                    \"value\": 621\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Moldova\",\n",
       "                    \"value\": 828\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ireland\",\n",
       "                    \"value\": 1763\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Kenya\",\n",
       "                    \"value\": 391\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Venezuela\",\n",
       "                    \"value\": 195\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Nepal\",\n",
       "                    \"value\": 65\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Austria\",\n",
       "                    \"value\": 719\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Costa Rica\",\n",
       "                    \"value\": 191\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ethiopia\",\n",
       "                    \"value\": 356\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Australia\",\n",
       "                    \"value\": 255\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"El Salvador\",\n",
       "                    \"value\": 513\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cameroon\",\n",
       "                    \"value\": 391\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Czech Republic\",\n",
       "                    \"value\": 388\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"C\\u00f4te d'Ivoire\",\n",
       "                    \"value\": 103\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Greenland\",\n",
       "                    \"value\": 617\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"South Korea\",\n",
       "                    \"value\": 302\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Gaza Strip\",\n",
       "                    \"value\": 89\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bosnia and Herzegovina\",\n",
       "                    \"value\": 384\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bulgaria\",\n",
       "                    \"value\": 424\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Madagascar\",\n",
       "                    \"value\": 134\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Sudan\",\n",
       "                    \"value\": 763\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Macedonia\",\n",
       "                    \"value\": 517\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Senegal\",\n",
       "                    \"value\": 223\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Norway\",\n",
       "                    \"value\": 256\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Dem. Rep. Congo\",\n",
       "                    \"value\": 215\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Malaysia\",\n",
       "                    \"value\": 125\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Gabon\",\n",
       "                    \"value\": 51\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Tajikistan\",\n",
       "                    \"value\": 62\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Guinea\",\n",
       "                    \"value\": 49\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Haiti\",\n",
       "                    \"value\": 171\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Finland\",\n",
       "                    \"value\": 331\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Zambia\",\n",
       "                    \"value\": 176\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Luxembourg\",\n",
       "                    \"value\": 118\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mauritania\",\n",
       "                    \"value\": 157\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Paraguay\",\n",
       "                    \"value\": 61\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Albania\",\n",
       "                    \"value\": 182\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Lebanon\",\n",
       "                    \"value\": 68\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Croatia\",\n",
       "                    \"value\": 155\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Djibouti\",\n",
       "                    \"value\": 59\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Greece\",\n",
       "                    \"value\": 210\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Equatorial Guinea\",\n",
       "                    \"value\": 83\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Central African Rep.\",\n",
       "                    \"value\": 59\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Hungary\",\n",
       "                    \"value\": 600\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Maldives\",\n",
       "                    \"value\": 19\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Libya\",\n",
       "                    \"value\": 99\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Malawi\",\n",
       "                    \"value\": 136\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Zimbabwe\",\n",
       "                    \"value\": 84\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Nicaragua\",\n",
       "                    \"value\": 123\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Republic of the Congo\",\n",
       "                    \"value\": 58\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Montenegro\",\n",
       "                    \"value\": 57\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Thailand\",\n",
       "                    \"value\": 58\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Somalia\",\n",
       "                    \"value\": 93\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Swaziland\",\n",
       "                    \"value\": 53\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Sri Lanka\",\n",
       "                    \"value\": 11\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cuba\",\n",
       "                    \"value\": 88\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cape Verde\",\n",
       "                    \"value\": 27\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mali\",\n",
       "                    \"value\": 124\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Namibia\",\n",
       "                    \"value\": 12\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Slovakia\",\n",
       "                    \"value\": 29\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Slovenia\",\n",
       "                    \"value\": 125\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Lithuania\",\n",
       "                    \"value\": 81\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Estonia\",\n",
       "                    \"value\": 63\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Rwanda\",\n",
       "                    \"value\": 5\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mozambique\",\n",
       "                    \"value\": 15\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Suriname\",\n",
       "                    \"value\": 27\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Guinea Bissau\",\n",
       "                    \"value\": 27\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Benin\",\n",
       "                    \"value\": 38\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Iceland\",\n",
       "                    \"value\": 10\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Sierra Leone\",\n",
       "                    \"value\": 67\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Yemen\",\n",
       "                    \"value\": 508\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Tunisia\",\n",
       "                    \"value\": 51\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"New Zealand\",\n",
       "                    \"value\": 22\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Angola\",\n",
       "                    \"value\": 62\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Uruguay\",\n",
       "                    \"value\": 37\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Latvia\",\n",
       "                    \"value\": 32\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Jordan\",\n",
       "                    \"value\": 11\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Liberia\",\n",
       "                    \"value\": 78\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Uganda\",\n",
       "                    \"value\": 5\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Georgia\",\n",
       "                    \"value\": 17\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cyprus\",\n",
       "                    \"value\": 19\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Burkina Faso\",\n",
       "                    \"value\": 54\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Niger\",\n",
       "                    \"value\": 69\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Togo\",\n",
       "                    \"value\": 21\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Malta\",\n",
       "                    \"value\": 9\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Andorra\",\n",
       "                    \"value\": 52\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Syria\",\n",
       "                    \"value\": 48\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Chad\",\n",
       "                    \"value\": 75\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Gambia\",\n",
       "                    \"value\": 16\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Jamaica\",\n",
       "                    \"value\": 12\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Botswana\",\n",
       "                    \"value\": 2\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"The Bahamas\",\n",
       "                    \"value\": 14\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Vietnam\",\n",
       "                    \"value\": 10\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Lesotho\",\n",
       "                    \"value\": 23\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"San Marino\",\n",
       "                    \"value\": 13\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Guyana\",\n",
       "                    \"value\": 42\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Tanzania\",\n",
       "                    \"value\": 22\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Burundi\",\n",
       "                    \"value\": 21\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Comoros\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Myanmar\",\n",
       "                    \"value\": 7\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mauritius\",\n",
       "                    \"value\": 6\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mongolia\",\n",
       "                    \"value\": 10\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Eritrea\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cambodia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Republic of Trinidad and Tobago\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Papua New Guinea\",\n",
       "                    \"value\": 8\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Brunei\",\n",
       "                    \"value\": 3\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Barbados\",\n",
       "                    \"value\": 3\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Seychelles\",\n",
       "                    \"value\": 7\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Monaco\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bhutan\",\n",
       "                    \"value\": 4\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Antigua and Barbuda\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Liechtenstein\",\n",
       "                    \"value\": 3\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Belize\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"St. Vincent and the Grenadines\",\n",
       "                    \"value\": 2\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Martinique\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Fiji\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Democratic Republic of Timor-Leste\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"St. Lucia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Grenada\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Laos\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"The Commonwealth of Dominica\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"The Federation of Saint Kitts and Nevis\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Vatican City State\",\n",
       "                    \"value\": 0\n",
       "                }\n",
       "            ],\n",
       "            \"roam\": true,\n",
       "            \"zoom\": 1,\n",
       "            \"showLegendSymbol\": true,\n",
       "            \"emphasis\": {}\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                \"\"\n",
       "            ],\n",
       "            \"selected\": {\n",
       "                \"\": true\n",
       "            },\n",
       "            \"show\": true,\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10,\n",
       "            \"itemWidth\": 25,\n",
       "            \"itemHeight\": 14\n",
       "        }\n",
       "    ],\n",
       "    \"tooltip\": {\n",
       "        \"show\": true,\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"formatter\": \"{b}: {c}\",\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"borderWidth\": 0\n",
       "    },\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"text\": \"\\u4e16\\u754c\\u75ab\\u60c5\\u5206\\u5e03\\u56fe\\uff08\\u7d2f\\u79ef\\u6b7b\\u4ea1\\uff09\",\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10\n",
       "        }\n",
       "    ],\n",
       "    \"visualMap\": {\n",
       "        \"show\": true,\n",
       "        \"type\": \"piecewise\",\n",
       "        \"min\": 0,\n",
       "        \"max\": 100,\n",
       "        \"inRange\": {\n",
       "            \"color\": [\n",
       "                \"#50a3ba\",\n",
       "                \"#eac763\",\n",
       "                \"#d94e5d\"\n",
       "            ]\n",
       "        },\n",
       "        \"calculable\": true,\n",
       "        \"inverse\": false,\n",
       "        \"splitNumber\": 5,\n",
       "        \"orient\": \"vertical\",\n",
       "        \"top\": \"center\",\n",
       "        \"showLabel\": true,\n",
       "        \"itemWidth\": 20,\n",
       "        \"itemHeight\": 14,\n",
       "        \"borderWidth\": 0,\n",
       "        \"pieces\": [\n",
       "            {\n",
       "                \"min\": 1000000,\n",
       "                \"color\": \"#7f1818\"\n",
       "            },\n",
       "            {\n",
       "                \"min\": 100000,\n",
       "                \"max\": 999999\n",
       "            },\n",
       "            {\n",
       "                \"min\": 10000,\n",
       "                \"max\": 99999\n",
       "            },\n",
       "            {\n",
       "                \"min\": 1000,\n",
       "                \"max\": 9999\n",
       "            },\n",
       "            {\n",
       "                \"min\": 500,\n",
       "                \"max\": 999\n",
       "            },\n",
       "            {\n",
       "                \"min\": 0,\n",
       "                \"max\": 499\n",
       "            }\n",
       "        ]\n",
       "    }\n",
       "};\n",
       "                chart_1599010d8e3f48b3be7b83dcbf313c4f.setOption(option_1599010d8e3f48b3be7b83dcbf313c4f);\n",
       "        });\n",
       "    </script>\n"
      ],
      "text/plain": [
       "<pyecharts.render.display.HTML at 0x2b06385e978>"
      ]
     },
     "execution_count": 7,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "##世界疫情分布图（累积死亡）\n",
    "list_data = zip(country_names, list(world_data['累计死亡']))\n",
    "m=(\n",
    "    Map(init_opts=opts.InitOpts(width='1300px',height='800px'))\n",
    "    .add('', list_data, 'world',label_opts=opts.LabelOpts(is_show=False))\n",
    "    .set_global_opts(\n",
    "        title_opts=opts.TitleOpts(title='世界疫情分布图（累积死亡）'),\n",
    "        tooltip_opts=opts.TooltipOpts(formatter='{b}: {c}'),\n",
    "        visualmap_opts=opts.VisualMapOpts(is_piecewise=True,  # 是否为分段型\n",
    "                                          pos_top='center',\n",
    "                                          pieces=[\n",
    "                                              {'min': 1000000, 'color': '#7f1818'},  # 不指定 max\n",
    "                                              {'min': 100000, 'max': 999999},\n",
    "                                              {'min': 10000, 'max': 99999},\n",
    "                                              {'min': 1000, 'max': 9999},\n",
    "                                              {'min': 500, 'max': 999},\n",
    "                                              {'min': 0, 'max': 499}],\n",
    "                                            ),\n",
    "        )\n",
    ")\n",
    "m.render('世界疫情分布图（累积死亡）.html')\n",
    "m.render_notebook()\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "###世界疫情分布图（累积死亡），累计死亡人数最高的是美国：161601人"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts':'https://assets.pyecharts.org/assets/echarts.min', 'world':'https://assets.pyecharts.org/assets/maps/world'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "\n",
       "        <div id=\"b81a1b933db34991b0d65c8b1461eb99\" style=\"width:1300px; height:800px;\"></div>\n",
       "\n",
       "<script>\n",
       "        require(['echarts', 'world'], function(echarts) {\n",
       "                var chart_b81a1b933db34991b0d65c8b1461eb99 = echarts.init(\n",
       "                    document.getElementById('b81a1b933db34991b0d65c8b1461eb99'), 'white', {renderer: 'canvas'});\n",
       "                var option_b81a1b933db34991b0d65c8b1461eb99 = {\n",
       "    \"animation\": true,\n",
       "    \"animationThreshold\": 2000,\n",
       "    \"animationDuration\": 1000,\n",
       "    \"animationEasing\": \"cubicOut\",\n",
       "    \"animationDelay\": 0,\n",
       "    \"animationDurationUpdate\": 300,\n",
       "    \"animationEasingUpdate\": \"cubicOut\",\n",
       "    \"animationDelayUpdate\": 0,\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\"\n",
       "    ],\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"map\",\n",
       "            \"label\": {\n",
       "                \"show\": false,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            },\n",
       "            \"mapType\": \"world\",\n",
       "            \"data\": [\n",
       "                {\n",
       "                    \"name\": \"China\",\n",
       "                    \"value\": 82004\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"United States\",\n",
       "                    \"value\": 2540137\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Brazil\",\n",
       "                    \"value\": 2190361\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"India\",\n",
       "                    \"value\": 1328336\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Russia\",\n",
       "                    \"value\": 675069\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"South Africa\",\n",
       "                    \"value\": 377266\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mexico\",\n",
       "                    \"value\": 361764\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Peru\",\n",
       "                    \"value\": 306430\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Chile\",\n",
       "                    \"value\": 338291\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Spain\",\n",
       "                    \"value\": 196958\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Colombia\",\n",
       "                    \"value\": 186317\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Iran\",\n",
       "                    \"value\": 277463\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"United Kingdom\",\n",
       "                    \"value\": 1447\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Saudi Arabia\",\n",
       "                    \"value\": 247089\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Pakistan\",\n",
       "                    \"value\": 256058\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bangladesh\",\n",
       "                    \"value\": 143824\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Italy\",\n",
       "                    \"value\": 200976\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Turkey\",\n",
       "                    \"value\": 219506\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"France\",\n",
       "                    \"value\": 82592\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Argentina\",\n",
       "                    \"value\": 99852\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Germany\",\n",
       "                    \"value\": 195148\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Iraq\",\n",
       "                    \"value\": 101025\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Canada\",\n",
       "                    \"value\": 104377\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Philippines\",\n",
       "                    \"value\": 66837\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Indonesia\",\n",
       "                    \"value\": 75645\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Qatar\",\n",
       "                    \"value\": 108831\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Kazakhstan\",\n",
       "                    \"value\": 68871\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Egypt\",\n",
       "                    \"value\": 47182\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ecuador\",\n",
       "                    \"value\": 71168\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bolivia\",\n",
       "                    \"value\": 26437\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Sweden\",\n",
       "                    \"value\": 4971\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Oman\",\n",
       "                    \"value\": 70910\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ukraine\",\n",
       "                    \"value\": 43812\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Israel\",\n",
       "                    \"value\": 53362\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Dominican Republic\",\n",
       "                    \"value\": 40122\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Belgium\",\n",
       "                    \"value\": 17661\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Panama\",\n",
       "                    \"value\": 44792\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Kuwait\",\n",
       "                    \"value\": 61610\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Belarus\",\n",
       "                    \"value\": 63756\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"United Arab Emirates\",\n",
       "                    \"value\": 55385\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Romania\",\n",
       "                    \"value\": 28992\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Netherlands\",\n",
       "                    \"value\": 211\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Singapore\",\n",
       "                    \"value\": 47768\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Guatemala\",\n",
       "                    \"value\": 41199\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Portugal\",\n",
       "                    \"value\": 37840\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Poland\",\n",
       "                    \"value\": 35642\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Honduras\",\n",
       "                    \"value\": 6116\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Nigeria\",\n",
       "                    \"value\": 32165\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Japan\",\n",
       "                    \"value\": 28858\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bahrain\",\n",
       "                    \"value\": 39576\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Armenia\",\n",
       "                    \"value\": 31556\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ghana\",\n",
       "                    \"value\": 36384\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Kyrgyzstan\",\n",
       "                    \"value\": 30099\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Afghanistan\",\n",
       "                    \"value\": 25840\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Switzerland\",\n",
       "                    \"value\": 31600\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Azerbaijan\",\n",
       "                    \"value\": 29275\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Algeria\",\n",
       "                    \"value\": 22802\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Morocco\",\n",
       "                    \"value\": 19994\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Uzbekistan\",\n",
       "                    \"value\": 19291\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Republic of Serbia\",\n",
       "                    \"value\": 15913\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Moldova\",\n",
       "                    \"value\": 18676\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ireland\",\n",
       "                    \"value\": 23364\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Kenya\",\n",
       "                    \"value\": 9930\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Venezuela\",\n",
       "                    \"value\": 12146\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Nepal\",\n",
       "                    \"value\": 15389\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Austria\",\n",
       "                    \"value\": 19596\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Costa Rica\",\n",
       "                    \"value\": 6851\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ethiopia\",\n",
       "                    \"value\": 8598\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Australia\",\n",
       "                    \"value\": 11146\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"El Salvador\",\n",
       "                    \"value\": 9157\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cameroon\",\n",
       "                    \"value\": 15320\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Czech Republic\",\n",
       "                    \"value\": 11909\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"C\\u00f4te d'Ivoire\",\n",
       "                    \"value\": 12191\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Greenland\",\n",
       "                    \"value\": 12993\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"South Korea\",\n",
       "                    \"value\": 13501\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Gaza Strip\",\n",
       "                    \"value\": 6907\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bosnia and Herzegovina\",\n",
       "                    \"value\": 7031\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bulgaria\",\n",
       "                    \"value\": 7154\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Madagascar\",\n",
       "                    \"value\": 10148\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Sudan\",\n",
       "                    \"value\": 6194\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Macedonia\",\n",
       "                    \"value\": 7480\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Senegal\",\n",
       "                    \"value\": 7101\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Norway\",\n",
       "                    \"value\": 8857\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Dem. Rep. Congo\",\n",
       "                    \"value\": 8048\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Malaysia\",\n",
       "                    \"value\": 8713\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Gabon\",\n",
       "                    \"value\": 5609\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Tajikistan\",\n",
       "                    \"value\": 6443\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Guinea\",\n",
       "                    \"value\": 6632\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Haiti\",\n",
       "                    \"value\": 4832\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Finland\",\n",
       "                    \"value\": 6980\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Zambia\",\n",
       "                    \"value\": 5667\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Luxembourg\",\n",
       "                    \"value\": 5623\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mauritania\",\n",
       "                    \"value\": 5291\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Paraguay\",\n",
       "                    \"value\": 4839\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Albania\",\n",
       "                    \"value\": 3123\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Lebanon\",\n",
       "                    \"value\": 1880\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Croatia\",\n",
       "                    \"value\": 4688\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Djibouti\",\n",
       "                    \"value\": 5057\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Greece\",\n",
       "                    \"value\": 1374\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Equatorial Guinea\",\n",
       "                    \"value\": 2182\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Central African Rep.\",\n",
       "                    \"value\": 1640\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Hungary\",\n",
       "                    \"value\": 3463\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Maldives\",\n",
       "                    \"value\": 2706\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Libya\",\n",
       "                    \"value\": 640\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Malawi\",\n",
       "                    \"value\": 2078\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Zimbabwe\",\n",
       "                    \"value\": 1264\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Nicaragua\",\n",
       "                    \"value\": 2913\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Republic of the Congo\",\n",
       "                    \"value\": 1589\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Montenegro\",\n",
       "                    \"value\": 2032\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Thailand\",\n",
       "                    \"value\": 3148\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Somalia\",\n",
       "                    \"value\": 1728\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Swaziland\",\n",
       "                    \"value\": 1385\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Sri Lanka\",\n",
       "                    \"value\": 2537\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cuba\",\n",
       "                    \"value\": 2396\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cape Verde\",\n",
       "                    \"value\": 1955\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mali\",\n",
       "                    \"value\": 1950\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Namibia\",\n",
       "                    \"value\": 556\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Slovakia\",\n",
       "                    \"value\": 1824\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Slovenia\",\n",
       "                    \"value\": 1909\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Lithuania\",\n",
       "                    \"value\": 1656\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Estonia\",\n",
       "                    \"value\": 1954\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Rwanda\",\n",
       "                    \"value\": 1237\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mozambique\",\n",
       "                    \"value\": 778\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Suriname\",\n",
       "                    \"value\": 1327\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Guinea Bissau\",\n",
       "                    \"value\": 944\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Benin\",\n",
       "                    \"value\": 1600\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Iceland\",\n",
       "                    \"value\": 1825\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Sierra Leone\",\n",
       "                    \"value\": 1401\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Yemen\",\n",
       "                    \"value\": 894\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Tunisia\",\n",
       "                    \"value\": 1233\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"New Zealand\",\n",
       "                    \"value\": 1524\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Angola\",\n",
       "                    \"value\": 506\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Uruguay\",\n",
       "                    \"value\": 1065\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Latvia\",\n",
       "                    \"value\": 1070\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Jordan\",\n",
       "                    \"value\": 1160\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Liberia\",\n",
       "                    \"value\": 705\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Uganda\",\n",
       "                    \"value\": 1102\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Georgia\",\n",
       "                    \"value\": 987\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cyprus\",\n",
       "                    \"value\": 856\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Burkina Faso\",\n",
       "                    \"value\": 961\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Niger\",\n",
       "                    \"value\": 1057\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Togo\",\n",
       "                    \"value\": 690\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Malta\",\n",
       "                    \"value\": 670\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Andorra\",\n",
       "                    \"value\": 828\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Syria\",\n",
       "                    \"value\": 296\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Chad\",\n",
       "                    \"value\": 835\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Gambia\",\n",
       "                    \"value\": 136\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Jamaica\",\n",
       "                    \"value\": 745\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Botswana\",\n",
       "                    \"value\": 63\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"The Bahamas\",\n",
       "                    \"value\": 91\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Vietnam\",\n",
       "                    \"value\": 392\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Lesotho\",\n",
       "                    \"value\": 175\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"San Marino\",\n",
       "                    \"value\": 651\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Guyana\",\n",
       "                    \"value\": 657\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Tanzania\",\n",
       "                    \"value\": 189\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Burundi\",\n",
       "                    \"value\": 183\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Comoros\",\n",
       "                    \"value\": 304\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Myanmar\",\n",
       "                    \"value\": 340\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mauritius\",\n",
       "                    \"value\": 308\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mongolia\",\n",
       "                    \"value\": 334\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Eritrea\",\n",
       "                    \"value\": 260\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cambodia\",\n",
       "                    \"value\": 225\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Republic of Trinidad and Tobago\",\n",
       "                    \"value\": 210\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Papua New Guinea\",\n",
       "                    \"value\": 135\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Brunei\",\n",
       "                    \"value\": 53\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Barbados\",\n",
       "                    \"value\": 138\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Seychelles\",\n",
       "                    \"value\": 100\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Monaco\",\n",
       "                    \"value\": 124\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bhutan\",\n",
       "                    \"value\": 105\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Antigua and Barbuda\",\n",
       "                    \"value\": 93\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Liechtenstein\",\n",
       "                    \"value\": 76\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Belize\",\n",
       "                    \"value\": 85\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"St. Vincent and the Grenadines\",\n",
       "                    \"value\": 31\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Martinique\",\n",
       "                    \"value\": 46\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Fiji\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Democratic Republic of Timor-Leste\",\n",
       "                    \"value\": 18\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"St. Lucia\",\n",
       "                    \"value\": 24\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Grenada\",\n",
       "                    \"value\": 24\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Laos\",\n",
       "                    \"value\": 23\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"The Commonwealth of Dominica\",\n",
       "                    \"value\": 19\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"The Federation of Saint Kitts and Nevis\",\n",
       "                    \"value\": 18\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Vatican City State\",\n",
       "                    \"value\": 16\n",
       "                }\n",
       "            ],\n",
       "            \"roam\": true,\n",
       "            \"zoom\": 1,\n",
       "            \"showLegendSymbol\": true,\n",
       "            \"emphasis\": {}\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                \"\"\n",
       "            ],\n",
       "            \"selected\": {\n",
       "                \"\": true\n",
       "            },\n",
       "            \"show\": true,\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10,\n",
       "            \"itemWidth\": 25,\n",
       "            \"itemHeight\": 14\n",
       "        }\n",
       "    ],\n",
       "    \"tooltip\": {\n",
       "        \"show\": true,\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"formatter\": \"{b}: {c}\",\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"borderWidth\": 0\n",
       "    },\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"text\": \"\\u4e16\\u754c\\u75ab\\u60c5\\u5206\\u5e03\\u56fe\\uff08\\u7d2f\\u79ef\\u6cbb\\u6108\\uff09\",\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10\n",
       "        }\n",
       "    ],\n",
       "    \"visualMap\": {\n",
       "        \"show\": true,\n",
       "        \"type\": \"piecewise\",\n",
       "        \"min\": 0,\n",
       "        \"max\": 100,\n",
       "        \"inRange\": {\n",
       "            \"color\": [\n",
       "                \"#50a3ba\",\n",
       "                \"#eac763\",\n",
       "                \"#d94e5d\"\n",
       "            ]\n",
       "        },\n",
       "        \"calculable\": true,\n",
       "        \"inverse\": false,\n",
       "        \"splitNumber\": 5,\n",
       "        \"orient\": \"vertical\",\n",
       "        \"top\": \"center\",\n",
       "        \"showLabel\": true,\n",
       "        \"itemWidth\": 20,\n",
       "        \"itemHeight\": 14,\n",
       "        \"borderWidth\": 0,\n",
       "        \"pieces\": [\n",
       "            {\n",
       "                \"min\": 1000000,\n",
       "                \"color\": \"#7f1818\"\n",
       "            },\n",
       "            {\n",
       "                \"min\": 100000,\n",
       "                \"max\": 999999\n",
       "            },\n",
       "            {\n",
       "                \"min\": 10000,\n",
       "                \"max\": 99999\n",
       "            },\n",
       "            {\n",
       "                \"min\": 1000,\n",
       "                \"max\": 9999\n",
       "            },\n",
       "            {\n",
       "                \"min\": 500,\n",
       "                \"max\": 999\n",
       "            },\n",
       "            {\n",
       "                \"min\": 0,\n",
       "                \"max\": 499\n",
       "            }\n",
       "        ]\n",
       "    }\n",
       "};\n",
       "                chart_b81a1b933db34991b0d65c8b1461eb99.setOption(option_b81a1b933db34991b0d65c8b1461eb99);\n",
       "        });\n",
       "    </script>\n"
      ],
      "text/plain": [
       "<pyecharts.render.display.HTML at 0x2b06381bda0>"
      ]
     },
     "execution_count": 8,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "##世界疫情分布图（累积治愈）\n",
    "list_data = zip(country_names, list(world_data['累计治愈']))\n",
    "m=(\n",
    "    Map(init_opts=opts.InitOpts(width='1300px',height='800px'))\n",
    "    .add('', list_data, 'world',label_opts=opts.LabelOpts(is_show=False))\n",
    "     .set_global_opts(\n",
    "         title_opts=opts.TitleOpts(title='世界疫情分布图（累积治愈）'),\n",
    "         tooltip_opts=opts.TooltipOpts(formatter='{b}: {c}'),\n",
    "         visualmap_opts=opts.VisualMapOpts(is_piecewise=True,  # 是否为分段型\n",
    "                                          pos_top='center',\n",
    "                                          pieces=[\n",
    "                                              {'min': 1000000, 'color': '#7f1818'},  # 不指定 max\n",
    "                                              {'min': 100000, 'max': 999999},\n",
    "                                              {'min': 10000, 'max': 99999},\n",
    "                                              {'min': 1000, 'max': 9999},\n",
    "                                              {'min': 500, 'max': 999},\n",
    "                                              {'min': 0, 'max': 499}],\n",
    "                                            ),\n",
    "        )\n",
    " )\n",
    "m.render('世界疫情分布图（累积治愈）.html')\n",
    "m.render_notebook()\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts':'https://assets.pyecharts.org/assets/echarts.min', 'world':'https://assets.pyecharts.org/assets/maps/world'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "\n",
       "        <div id=\"c5477b34b765478f9ceb40f16df3e6e1\" style=\"width:1300px; height:800px;\"></div>\n",
       "\n",
       "<script>\n",
       "        require(['echarts', 'world'], function(echarts) {\n",
       "                var chart_c5477b34b765478f9ceb40f16df3e6e1 = echarts.init(\n",
       "                    document.getElementById('c5477b34b765478f9ceb40f16df3e6e1'), 'white', {renderer: 'canvas'});\n",
       "                var option_c5477b34b765478f9ceb40f16df3e6e1 = {\n",
       "    \"animation\": true,\n",
       "    \"animationThreshold\": 2000,\n",
       "    \"animationDuration\": 1000,\n",
       "    \"animationEasing\": \"cubicOut\",\n",
       "    \"animationDelay\": 0,\n",
       "    \"animationDurationUpdate\": 300,\n",
       "    \"animationEasingUpdate\": \"cubicOut\",\n",
       "    \"animationDelayUpdate\": 0,\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\"\n",
       "    ],\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"map\",\n",
       "            \"label\": {\n",
       "                \"show\": false,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            },\n",
       "            \"mapType\": \"world\",\n",
       "            \"data\": [\n",
       "                {\n",
       "                    \"name\": \"China\",\n",
       "                    \"value\": 2211\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"United States\",\n",
       "                    \"value\": 2271830\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Brazil\",\n",
       "                    \"value\": 571456\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"India\",\n",
       "                    \"value\": 595501\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Russia\",\n",
       "                    \"value\": 180539\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"South Africa\",\n",
       "                    \"value\": 143313\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mexico\",\n",
       "                    \"value\": 44638\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Peru\",\n",
       "                    \"value\": 120966\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Chile\",\n",
       "                    \"value\": 16640\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Spain\",\n",
       "                    \"value\": 127390\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Colombia\",\n",
       "                    \"value\": 147773\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Iran\",\n",
       "                    \"value\": 24678\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"United Kingdom\",\n",
       "                    \"value\": 259530\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Saudi Arabia\",\n",
       "                    \"value\": 34082\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Pakistan\",\n",
       "                    \"value\": 19770\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bangladesh\",\n",
       "                    \"value\": 102521\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Italy\",\n",
       "                    \"value\": 12646\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Turkey\",\n",
       "                    \"value\": 10822\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"France\",\n",
       "                    \"value\": 118410\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Argentina\",\n",
       "                    \"value\": 116695\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Germany\",\n",
       "                    \"value\": 10168\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Iraq\",\n",
       "                    \"value\": 34417\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Canada\",\n",
       "                    \"value\": 6646\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Philippines\",\n",
       "                    \"value\": 50473\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Indonesia\",\n",
       "                    \"value\": 37587\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Qatar\",\n",
       "                    \"value\": 3083\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Kazakhstan\",\n",
       "                    \"value\": 26013\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Egypt\",\n",
       "                    \"value\": 42763\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ecuador\",\n",
       "                    \"value\": 11851\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bolivia\",\n",
       "                    \"value\": 55319\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Sweden\",\n",
       "                    \"value\": 71230\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Oman\",\n",
       "                    \"value\": 9311\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ukraine\",\n",
       "                    \"value\": 32857\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Israel\",\n",
       "                    \"value\": 24583\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Dominican Republic\",\n",
       "                    \"value\": 34316\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Belgium\",\n",
       "                    \"value\": 43638\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Panama\",\n",
       "                    \"value\": 23886\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Kuwait\",\n",
       "                    \"value\": 7966\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Belarus\",\n",
       "                    \"value\": 4167\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"United Arab Emirates\",\n",
       "                    \"value\": 5868\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Romania\",\n",
       "                    \"value\": 26337\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Netherlands\",\n",
       "                    \"value\": 50973\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Singapore\",\n",
       "                    \"value\": 6760\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Guatemala\",\n",
       "                    \"value\": 10238\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Portugal\",\n",
       "                    \"value\": 12478\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Poland\",\n",
       "                    \"value\": 12099\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Honduras\",\n",
       "                    \"value\": 37559\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Nigeria\",\n",
       "                    \"value\": 11798\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Japan\",\n",
       "                    \"value\": 14263\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bahrain\",\n",
       "                    \"value\": 2782\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Armenia\",\n",
       "                    \"value\": 7491\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ghana\",\n",
       "                    \"value\": 3059\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Kyrgyzstan\",\n",
       "                    \"value\": 7113\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Afghanistan\",\n",
       "                    \"value\": 9758\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Switzerland\",\n",
       "                    \"value\": 2523\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Azerbaijan\",\n",
       "                    \"value\": 3493\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Algeria\",\n",
       "                    \"value\": 8992\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Morocco\",\n",
       "                    \"value\": 8071\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Uzbekistan\",\n",
       "                    \"value\": 8849\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Republic of Serbia\",\n",
       "                    \"value\": 10798\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Moldova\",\n",
       "                    \"value\": 7124\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ireland\",\n",
       "                    \"value\": 1176\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Kenya\",\n",
       "                    \"value\": 13552\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Venezuela\",\n",
       "                    \"value\": 9958\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Nepal\",\n",
       "                    \"value\": 6296\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Austria\",\n",
       "                    \"value\": 1381\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Costa Rica\",\n",
       "                    \"value\": 13375\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ethiopia\",\n",
       "                    \"value\": 11382\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Australia\",\n",
       "                    \"value\": 8462\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"El Salvador\",\n",
       "                    \"value\": 9031\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cameroon\",\n",
       "                    \"value\": 2007\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Czech Republic\",\n",
       "                    \"value\": 5232\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"C\\u00f4te d'Ivoire\",\n",
       "                    \"value\": 4055\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Greenland\",\n",
       "                    \"value\": 951\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"South Korea\",\n",
       "                    \"value\": 696\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Gaza Strip\",\n",
       "                    \"value\": 6402\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bosnia and Herzegovina\",\n",
       "                    \"value\": 5891\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bulgaria\",\n",
       "                    \"value\": 5139\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Madagascar\",\n",
       "                    \"value\": 2244\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Sudan\",\n",
       "                    \"value\": 4823\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Macedonia\",\n",
       "                    \"value\": 3402\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Senegal\",\n",
       "                    \"value\": 3391\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Norway\",\n",
       "                    \"value\": 331\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Dem. Rep. Congo\",\n",
       "                    \"value\": 1046\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Malaysia\",\n",
       "                    \"value\": 200\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Gabon\",\n",
       "                    \"value\": 2127\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Tajikistan\",\n",
       "                    \"value\": 1160\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Guinea\",\n",
       "                    \"value\": 894\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Haiti\",\n",
       "                    \"value\": 2541\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Finland\",\n",
       "                    \"value\": 221\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Zambia\",\n",
       "                    \"value\": 1179\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Luxembourg\",\n",
       "                    \"value\": 1266\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mauritania\",\n",
       "                    \"value\": 996\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Paraguay\",\n",
       "                    \"value\": 1160\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Albania\",\n",
       "                    \"value\": 2584\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Lebanon\",\n",
       "                    \"value\": 3469\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Croatia\",\n",
       "                    \"value\": 561\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Djibouti\",\n",
       "                    \"value\": 214\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Greece\",\n",
       "                    \"value\": 3390\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Equatorial Guinea\",\n",
       "                    \"value\": 2556\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Central African Rep.\",\n",
       "                    \"value\": 2919\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Hungary\",\n",
       "                    \"value\": 534\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Maldives\",\n",
       "                    \"value\": 1869\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Libya\",\n",
       "                    \"value\": 3736\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Malawi\",\n",
       "                    \"value\": 2212\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Zimbabwe\",\n",
       "                    \"value\": 2991\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Nicaragua\",\n",
       "                    \"value\": 866\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Republic of the Congo\",\n",
       "                    \"value\": 1899\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Montenegro\",\n",
       "                    \"value\": 1322\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Thailand\",\n",
       "                    \"value\": 124\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Somalia\",\n",
       "                    \"value\": 1406\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Swaziland\",\n",
       "                    \"value\": 1471\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Sri Lanka\",\n",
       "                    \"value\": 291\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cuba\",\n",
       "                    \"value\": 242\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cape Verde\",\n",
       "                    \"value\": 707\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mali\",\n",
       "                    \"value\": 472\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Namibia\",\n",
       "                    \"value\": 1972\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Slovakia\",\n",
       "                    \"value\": 627\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Slovenia\",\n",
       "                    \"value\": 189\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Lithuania\",\n",
       "                    \"value\": 434\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Estonia\",\n",
       "                    \"value\": 107\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Rwanda\",\n",
       "                    \"value\": 862\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mozambique\",\n",
       "                    \"value\": 1286\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Suriname\",\n",
       "                    \"value\": 696\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Guinea Bissau\",\n",
       "                    \"value\": 1061\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Benin\",\n",
       "                    \"value\": 298\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Iceland\",\n",
       "                    \"value\": 97\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Sierra Leone\",\n",
       "                    \"value\": 392\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Yemen\",\n",
       "                    \"value\": 361\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Tunisia\",\n",
       "                    \"value\": 317\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"New Zealand\",\n",
       "                    \"value\": 23\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Angola\",\n",
       "                    \"value\": 827\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Uruguay\",\n",
       "                    \"value\": 207\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Latvia\",\n",
       "                    \"value\": 173\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Jordan\",\n",
       "                    \"value\": 60\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Liberia\",\n",
       "                    \"value\": 441\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Uganda\",\n",
       "                    \"value\": 116\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Georgia\",\n",
       "                    \"value\": 202\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cyprus\",\n",
       "                    \"value\": 320\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Burkina Faso\",\n",
       "                    \"value\": 143\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Niger\",\n",
       "                    \"value\": 26\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Togo\",\n",
       "                    \"value\": 290\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Malta\",\n",
       "                    \"value\": 267\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Andorra\",\n",
       "                    \"value\": 64\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Syria\",\n",
       "                    \"value\": 600\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Chad\",\n",
       "                    \"value\": 29\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Gambia\",\n",
       "                    \"value\": 783\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Jamaica\",\n",
       "                    \"value\": 171\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Botswana\",\n",
       "                    \"value\": 739\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"The Bahamas\",\n",
       "                    \"value\": 646\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Vietnam\",\n",
       "                    \"value\": 345\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Lesotho\",\n",
       "                    \"value\": 544\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"San Marino\",\n",
       "                    \"value\": 48\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Guyana\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Tanzania\",\n",
       "                    \"value\": 298\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Burundi\",\n",
       "                    \"value\": 305\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Comoros\",\n",
       "                    \"value\": 90\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Myanmar\",\n",
       "                    \"value\": 41\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mauritius\",\n",
       "                    \"value\": 43\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mongolia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Eritrea\",\n",
       "                    \"value\": 33\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cambodia\",\n",
       "                    \"value\": 57\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Republic of Trinidad and Tobago\",\n",
       "                    \"value\": 33\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Papua New Guinea\",\n",
       "                    \"value\": 64\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Brunei\",\n",
       "                    \"value\": 107\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Barbados\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Seychelles\",\n",
       "                    \"value\": 26\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Monaco\",\n",
       "                    \"value\": 2\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bhutan\",\n",
       "                    \"value\": 16\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Antigua and Barbuda\",\n",
       "                    \"value\": 12\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Liechtenstein\",\n",
       "                    \"value\": 13\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Belize\",\n",
       "                    \"value\": 3\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"St. Vincent and the Grenadines\",\n",
       "                    \"value\": 53\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Martinique\",\n",
       "                    \"value\": 10\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Fiji\",\n",
       "                    \"value\": 36\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Democratic Republic of Timor-Leste\",\n",
       "                    \"value\": 8\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"St. Lucia\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Grenada\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Laos\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"The Commonwealth of Dominica\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"The Federation of Saint Kitts and Nevis\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Vatican City State\",\n",
       "                    \"value\": 1\n",
       "                }\n",
       "            ],\n",
       "            \"roam\": true,\n",
       "            \"zoom\": 1,\n",
       "            \"showLegendSymbol\": true,\n",
       "            \"emphasis\": {}\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                \"\"\n",
       "            ],\n",
       "            \"selected\": {\n",
       "                \"\": true\n",
       "            },\n",
       "            \"show\": true,\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10,\n",
       "            \"itemWidth\": 25,\n",
       "            \"itemHeight\": 14\n",
       "        }\n",
       "    ],\n",
       "    \"tooltip\": {\n",
       "        \"show\": true,\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"formatter\": \"{b}: {c}\",\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"borderWidth\": 0\n",
       "    },\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"text\": \"\\u4e16\\u754c\\u75ab\\u60c5\\u5206\\u5e03\\u56fe\\uff08\\u73b0\\u6709\\u786e\\u8bca\\uff09\",\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10\n",
       "        }\n",
       "    ],\n",
       "    \"visualMap\": {\n",
       "        \"show\": true,\n",
       "        \"type\": \"piecewise\",\n",
       "        \"min\": 0,\n",
       "        \"max\": 100,\n",
       "        \"inRange\": {\n",
       "            \"color\": [\n",
       "                \"#50a3ba\",\n",
       "                \"#eac763\",\n",
       "                \"#d94e5d\"\n",
       "            ]\n",
       "        },\n",
       "        \"calculable\": true,\n",
       "        \"inverse\": false,\n",
       "        \"splitNumber\": 5,\n",
       "        \"orient\": \"vertical\",\n",
       "        \"top\": \"center\",\n",
       "        \"showLabel\": true,\n",
       "        \"itemWidth\": 20,\n",
       "        \"itemHeight\": 14,\n",
       "        \"borderWidth\": 0,\n",
       "        \"pieces\": [\n",
       "            {\n",
       "                \"min\": 1000000,\n",
       "                \"color\": \"#7f1818\"\n",
       "            },\n",
       "            {\n",
       "                \"min\": 100000,\n",
       "                \"max\": 999999\n",
       "            },\n",
       "            {\n",
       "                \"min\": 10000,\n",
       "                \"max\": 99999\n",
       "            },\n",
       "            {\n",
       "                \"min\": 1000,\n",
       "                \"max\": 9999\n",
       "            },\n",
       "            {\n",
       "                \"min\": 500,\n",
       "                \"max\": 999\n",
       "            },\n",
       "            {\n",
       "                \"min\": 0,\n",
       "                \"max\": 499\n",
       "            }\n",
       "        ]\n",
       "    }\n",
       "};\n",
       "                chart_c5477b34b765478f9ceb40f16df3e6e1.setOption(option_c5477b34b765478f9ceb40f16df3e6e1);\n",
       "        });\n",
       "    </script>\n"
      ],
      "text/plain": [
       "<pyecharts.render.display.HTML at 0x2b06385eda0>"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "\n",
    "list_data = zip(country_names, list(world_data['现有确诊']))\n",
    "m=(\n",
    "    Map(init_opts=opts.InitOpts(width='1300px',height='800px'))\n",
    "    .add('', list_data, 'world',label_opts=opts.LabelOpts(is_show=False))\n",
    "    .set_global_opts(\n",
    "        title_opts=opts.TitleOpts(title='世界疫情分布图（现有确诊）'),\n",
    "        tooltip_opts=opts.TooltipOpts(formatter='{b}: {c}'),\n",
    "        visualmap_opts=opts.VisualMapOpts(is_piecewise=True,  # 是否为分段型\n",
    "                                          pos_top='center',\n",
    "                                          pieces=[\n",
    "                                              {'min': 1000000, 'color': '#7f1818'},  # 不指定 max\n",
    "                                              {'min': 100000, 'max': 999999},\n",
    "                                              {'min': 10000, 'max': 99999},\n",
    "                                              {'min': 1000, 'max': 9999},\n",
    "                                              {'min': 500, 'max': 999},\n",
    "                                              {'min': 0, 'max': 499}],\n",
    "                                          ),\n",
    "        )\n",
    ")\n",
    "m.render('世界疫情分布图（现有确诊）.html')\n",
    "m.render_notebook()\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "###世界疫情分布图（现有确诊），现有确诊人数最高的是美国：2271830人"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts':'https://assets.pyecharts.org/assets/echarts.min', 'world':'https://assets.pyecharts.org/assets/maps/world'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "\n",
       "        <div id=\"325a29e4e3104b4aa2efe8a7f546b4ea\" style=\"width:1300px; height:800px;\"></div>\n",
       "\n",
       "<script>\n",
       "        require(['echarts', 'world'], function(echarts) {\n",
       "                var chart_325a29e4e3104b4aa2efe8a7f546b4ea = echarts.init(\n",
       "                    document.getElementById('325a29e4e3104b4aa2efe8a7f546b4ea'), 'white', {renderer: 'canvas'});\n",
       "                var option_325a29e4e3104b4aa2efe8a7f546b4ea = {\n",
       "    \"animation\": true,\n",
       "    \"animationThreshold\": 2000,\n",
       "    \"animationDuration\": 1000,\n",
       "    \"animationEasing\": \"cubicOut\",\n",
       "    \"animationDelay\": 0,\n",
       "    \"animationDurationUpdate\": 300,\n",
       "    \"animationEasingUpdate\": \"cubicOut\",\n",
       "    \"animationDelayUpdate\": 0,\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\"\n",
       "    ],\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"map\",\n",
       "            \"label\": {\n",
       "                \"show\": false,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            },\n",
       "            \"mapType\": \"world\",\n",
       "            \"data\": [\n",
       "                {\n",
       "                    \"name\": \"China\",\n",
       "                    \"value\": 218\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"United States\",\n",
       "                    \"value\": 55148\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Brazil\",\n",
       "                    \"value\": 57152\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"India\",\n",
       "                    \"value\": 56282\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Russia\",\n",
       "                    \"value\": 5239\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"South Africa\",\n",
       "                    \"value\": 8559\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mexico\",\n",
       "                    \"value\": 6139\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Peru\",\n",
       "                    \"value\": 7734\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Chile\",\n",
       "                    \"value\": 1761\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Spain\",\n",
       "                    \"value\": 2953\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Colombia\",\n",
       "                    \"value\": 10735\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Iran\",\n",
       "                    \"value\": 2634\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"United Kingdom\",\n",
       "                    \"value\": 14\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Saudi Arabia\",\n",
       "                    \"value\": 1402\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Pakistan\",\n",
       "                    \"value\": 727\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bangladesh\",\n",
       "                    \"value\": 2977\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Italy\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Turkey\",\n",
       "                    \"value\": 1178\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"France\",\n",
       "                    \"value\": 2734\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Argentina\",\n",
       "                    \"value\": 7147\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Germany\",\n",
       "                    \"value\": 1060\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Iraq\",\n",
       "                    \"value\": 3047\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Canada\",\n",
       "                    \"value\": 374\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Philippines\",\n",
       "                    \"value\": 3480\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Indonesia\",\n",
       "                    \"value\": 1882\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Qatar\",\n",
       "                    \"value\": 554\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Kazakhstan\",\n",
       "                    \"value\": 1060\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Egypt\",\n",
       "                    \"value\": 123\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ecuador\",\n",
       "                    \"value\": 903\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bolivia\",\n",
       "                    \"value\": 1780\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Sweden\",\n",
       "                    \"value\": 427\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Oman\",\n",
       "                    \"value\": 1554\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ukraine\",\n",
       "                    \"value\": 1346\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Israel\",\n",
       "                    \"value\": 1751\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Dominican Republic\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Belgium\",\n",
       "                    \"value\": 510\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Panama\",\n",
       "                    \"value\": 807\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Kuwait\",\n",
       "                    \"value\": 620\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Belarus\",\n",
       "                    \"value\": 127\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"United Arab Emirates\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Romania\",\n",
       "                    \"value\": 1345\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Netherlands\",\n",
       "                    \"value\": 652\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Singapore\",\n",
       "                    \"value\": 301\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Guatemala\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Portugal\",\n",
       "                    \"value\": 213\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Poland\",\n",
       "                    \"value\": 726\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Honduras\",\n",
       "                    \"value\": 799\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Nigeria\",\n",
       "                    \"value\": 457\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Japan\",\n",
       "                    \"value\": 1495\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bahrain\",\n",
       "                    \"value\": 382\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Armenia\",\n",
       "                    \"value\": 233\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ghana\",\n",
       "                    \"value\": 567\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Kyrgyzstan\",\n",
       "                    \"value\": 549\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Afghanistan\",\n",
       "                    \"value\": 67\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Switzerland\",\n",
       "                    \"value\": 362\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Azerbaijan\",\n",
       "                    \"value\": 144\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Algeria\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Morocco\",\n",
       "                    \"value\": 1283\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Uzbekistan\",\n",
       "                    \"value\": 761\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Republic of Serbia\",\n",
       "                    \"value\": 299\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Moldova\",\n",
       "                    \"value\": 406\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ireland\",\n",
       "                    \"value\": 50\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Kenya\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Venezuela\",\n",
       "                    \"value\": 861\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Nepal\",\n",
       "                    \"value\": 360\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Austria\",\n",
       "                    \"value\": 130\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Costa Rica\",\n",
       "                    \"value\": 580\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ethiopia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Australia\",\n",
       "                    \"value\": 419\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"El Salvador\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cameroon\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Czech Republic\",\n",
       "                    \"value\": 243\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"C\\u00f4te d'Ivoire\",\n",
       "                    \"value\": 56\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Greenland\",\n",
       "                    \"value\": 121\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"South Korea\",\n",
       "                    \"value\": 43\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Gaza Strip\",\n",
       "                    \"value\": 333\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bosnia and Herzegovina\",\n",
       "                    \"value\": 168\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bulgaria\",\n",
       "                    \"value\": 303\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Madagascar\",\n",
       "                    \"value\": 304\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Sudan\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Macedonia\",\n",
       "                    \"value\": 110\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Senegal\",\n",
       "                    \"value\": 177\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Norway\",\n",
       "                    \"value\": 56\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Dem. Rep. Congo\",\n",
       "                    \"value\": 56\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Malaysia\",\n",
       "                    \"value\": 15\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Gabon\",\n",
       "                    \"value\": 141\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Tajikistan\",\n",
       "                    \"value\": 40\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Guinea\",\n",
       "                    \"value\": 86\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Haiti\",\n",
       "                    \"value\": 12\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Finland\",\n",
       "                    \"value\": 20\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Zambia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Luxembourg\",\n",
       "                    \"value\": 90\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mauritania\",\n",
       "                    \"value\": 26\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Paraguay\",\n",
       "                    \"value\": 208\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Albania\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Lebanon\",\n",
       "                    \"value\": 146\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Croatia\",\n",
       "                    \"value\": 28\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Djibouti\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Greece\",\n",
       "                    \"value\": 119\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Equatorial Guinea\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Central African Rep.\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Hungary\",\n",
       "                    \"value\": 33\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Maldives\",\n",
       "                    \"value\": 148\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Libya\",\n",
       "                    \"value\": 251\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Malawi\",\n",
       "                    \"value\": 65\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Zimbabwe\",\n",
       "                    \"value\": 118\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Nicaragua\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Republic of the Congo\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Montenegro\",\n",
       "                    \"value\": 50\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Thailand\",\n",
       "                    \"value\": 2\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Somalia\",\n",
       "                    \"value\": 7\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Swaziland\",\n",
       "                    \"value\": 53\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Sri Lanka\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cuba\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cape Verde\",\n",
       "                    \"value\": 58\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mali\",\n",
       "                    \"value\": 3\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Namibia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Slovakia\",\n",
       "                    \"value\": 63\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Slovenia\",\n",
       "                    \"value\": 15\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Lithuania\",\n",
       "                    \"value\": 24\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Estonia\",\n",
       "                    \"value\": 11\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Rwanda\",\n",
       "                    \"value\": 5\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mozambique\",\n",
       "                    \"value\": 50\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Suriname\",\n",
       "                    \"value\": 69\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Guinea Bissau\",\n",
       "                    \"value\": 51\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Benin\",\n",
       "                    \"value\": 22\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Iceland\",\n",
       "                    \"value\": 6\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Sierra Leone\",\n",
       "                    \"value\": 5\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Yemen\",\n",
       "                    \"value\": 3\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Tunisia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"New Zealand\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Angola\",\n",
       "                    \"value\": 51\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Uruguay\",\n",
       "                    \"value\": 9\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Latvia\",\n",
       "                    \"value\": 18\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Jordan\",\n",
       "                    \"value\": 7\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Liberia\",\n",
       "                    \"value\": 3\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Uganda\",\n",
       "                    \"value\": 10\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Georgia\",\n",
       "                    \"value\": 9\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cyprus\",\n",
       "                    \"value\": 15\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Burkina Faso\",\n",
       "                    \"value\": 5\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Niger\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Togo\",\n",
       "                    \"value\": 13\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Malta\",\n",
       "                    \"value\": 20\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Andorra\",\n",
       "                    \"value\": 5\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Syria\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Chad\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Gambia\",\n",
       "                    \"value\": 136\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Jamaica\",\n",
       "                    \"value\": 8\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Botswana\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"The Bahamas\",\n",
       "                    \"value\": 36\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Vietnam\",\n",
       "                    \"value\": 34\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Lesotho\",\n",
       "                    \"value\": 16\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"San Marino\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Guyana\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Tanzania\",\n",
       "                    \"value\": 12\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Burundi\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Comoros\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Myanmar\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mauritius\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mongolia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Eritrea\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cambodia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Republic of Trinidad and Tobago\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Papua New Guinea\",\n",
       "                    \"value\": 10\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Brunei\",\n",
       "                    \"value\": 10\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Barbados\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Seychelles\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Monaco\",\n",
       "                    \"value\": 12\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bhutan\",\n",
       "                    \"value\": 2\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Antigua and Barbuda\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Liechtenstein\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Belize\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"St. Vincent and the Grenadines\",\n",
       "                    \"value\": 14\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Martinique\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Fiji\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Democratic Republic of Timor-Leste\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"St. Lucia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Grenada\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Laos\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"The Commonwealth of Dominica\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"The Federation of Saint Kitts and Nevis\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Vatican City State\",\n",
       "                    \"value\": 0\n",
       "                }\n",
       "            ],\n",
       "            \"roam\": true,\n",
       "            \"zoom\": 1,\n",
       "            \"showLegendSymbol\": true,\n",
       "            \"emphasis\": {}\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                \"\"\n",
       "            ],\n",
       "            \"selected\": {\n",
       "                \"\": true\n",
       "            },\n",
       "            \"show\": true,\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10,\n",
       "            \"itemWidth\": 25,\n",
       "            \"itemHeight\": 14\n",
       "        }\n",
       "    ],\n",
       "    \"tooltip\": {\n",
       "        \"show\": true,\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"formatter\": \"{b}: {c}\",\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"borderWidth\": 0\n",
       "    },\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"text\": \"\\u4e16\\u754c\\u75ab\\u60c5\\u5206\\u5e03\\u56fe\\uff08\\u65b0\\u589e\\u786e\\u8bca\\uff09\",\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10\n",
       "        }\n",
       "    ],\n",
       "    \"visualMap\": {\n",
       "        \"show\": true,\n",
       "        \"type\": \"piecewise\",\n",
       "        \"min\": 0,\n",
       "        \"max\": 100,\n",
       "        \"inRange\": {\n",
       "            \"color\": [\n",
       "                \"#50a3ba\",\n",
       "                \"#eac763\",\n",
       "                \"#d94e5d\"\n",
       "            ]\n",
       "        },\n",
       "        \"calculable\": true,\n",
       "        \"inverse\": false,\n",
       "        \"splitNumber\": 5,\n",
       "        \"orient\": \"vertical\",\n",
       "        \"top\": \"center\",\n",
       "        \"showLabel\": true,\n",
       "        \"itemWidth\": 20,\n",
       "        \"itemHeight\": 14,\n",
       "        \"borderWidth\": 0,\n",
       "        \"pieces\": [\n",
       "            {\n",
       "                \"min\": 10000,\n",
       "                \"color\": \"#7f1818\"\n",
       "            },\n",
       "            {\n",
       "                \"min\": 1000,\n",
       "                \"max\": 9999\n",
       "            },\n",
       "            {\n",
       "                \"min\": 500,\n",
       "                \"max\": 999\n",
       "            },\n",
       "            {\n",
       "                \"min\": 100,\n",
       "                \"max\": 499\n",
       "            },\n",
       "            {\n",
       "                \"min\": 0,\n",
       "                \"max\": 99\n",
       "            }\n",
       "        ]\n",
       "    }\n",
       "};\n",
       "                chart_325a29e4e3104b4aa2efe8a7f546b4ea.setOption(option_325a29e4e3104b4aa2efe8a7f546b4ea);\n",
       "        });\n",
       "    </script>\n"
      ],
      "text/plain": [
       "<pyecharts.render.display.HTML at 0x2b063879ba8>"
      ]
     },
     "execution_count": 10,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "list_data = zip(country_names, list(world_data['新增确诊']))\n",
    "m=(\n",
    "    Map(init_opts=opts.InitOpts(width='1300px',height='800px'))\n",
    "    .add('', list_data, 'world',label_opts=opts.LabelOpts(is_show=False))\n",
    "    .set_global_opts(\n",
    "        title_opts=opts.TitleOpts(title='世界疫情分布图（新增确诊）'),\n",
    "        tooltip_opts=opts.TooltipOpts(formatter='{b}: {c}'),\n",
    "        visualmap_opts=opts.VisualMapOpts(is_piecewise=True,  # 是否为分段型\n",
    "                                          pos_top='center',\n",
    "                                          pieces=[\n",
    "                                              {'min': 10000, 'color': '#7f1818'},  # 不指定 max,\n",
    "                                              {'min': 1000, 'max': 9999},\n",
    "                                              {'min': 500, 'max': 999},\n",
    "                                              {'min': 100, 'max': 499},\n",
    "                                              {'min': 0, 'max': 99}],\n",
    "                                          ),\n",
    "        )\n",
    ")\n",
    "m.render('世界疫情分布图（新增确诊）.html')\n",
    "m.render_notebook()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "##世界疫情分布图（新增确诊），新增确诊人数达到10000以上的有3个国家，美国：55148人，巴西：57152人，印度：56282人"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts':'https://assets.pyecharts.org/assets/echarts.min', 'world':'https://assets.pyecharts.org/assets/maps/world'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "\n",
       "        <div id=\"ef812f1d956c4b6e9331852aca1b3af6\" style=\"width:1300px; height:800px;\"></div>\n",
       "\n",
       "<script>\n",
       "        require(['echarts', 'world'], function(echarts) {\n",
       "                var chart_ef812f1d956c4b6e9331852aca1b3af6 = echarts.init(\n",
       "                    document.getElementById('ef812f1d956c4b6e9331852aca1b3af6'), 'white', {renderer: 'canvas'});\n",
       "                var option_ef812f1d956c4b6e9331852aca1b3af6 = {\n",
       "    \"animation\": true,\n",
       "    \"animationThreshold\": 2000,\n",
       "    \"animationDuration\": 1000,\n",
       "    \"animationEasing\": \"cubicOut\",\n",
       "    \"animationDelay\": 0,\n",
       "    \"animationDurationUpdate\": 300,\n",
       "    \"animationEasingUpdate\": \"cubicOut\",\n",
       "    \"animationDelayUpdate\": 0,\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\"\n",
       "    ],\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"map\",\n",
       "            \"label\": {\n",
       "                \"show\": false,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            },\n",
       "            \"mapType\": \"world\",\n",
       "            \"data\": [\n",
       "                {\n",
       "                    \"name\": \"China\",\n",
       "                    \"value\": 329\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"United States\",\n",
       "                    \"value\": 58457\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Brazil\",\n",
       "                    \"value\": 32808\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"India\",\n",
       "                    \"value\": 46121\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Russia\",\n",
       "                    \"value\": 7300\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"South Africa\",\n",
       "                    \"value\": 13515\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mexico\",\n",
       "                    \"value\": 4320\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Peru\",\n",
       "                    \"value\": 3973\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Chile\",\n",
       "                    \"value\": 1961\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Spain\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Colombia\",\n",
       "                    \"value\": 6059\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Iran\",\n",
       "                    \"value\": 2531\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"United Kingdom\",\n",
       "                    \"value\": 2\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Saudi Arabia\",\n",
       "                    \"value\": 1775\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Pakistan\",\n",
       "                    \"value\": 1772\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bangladesh\",\n",
       "                    \"value\": 2074\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Italy\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Turkey\",\n",
       "                    \"value\": 1015\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"France\",\n",
       "                    \"value\": 828\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Argentina\",\n",
       "                    \"value\": 2904\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Germany\",\n",
       "                    \"value\": 692\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Iraq\",\n",
       "                    \"value\": 2583\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Canada\",\n",
       "                    \"value\": 319\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Philippines\",\n",
       "                    \"value\": 567\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Indonesia\",\n",
       "                    \"value\": 1756\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Qatar\",\n",
       "                    \"value\": 577\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Kazakhstan\",\n",
       "                    \"value\": 1840\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Egypt\",\n",
       "                    \"value\": 1613\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ecuador\",\n",
       "                    \"value\": 183\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bolivia\",\n",
       "                    \"value\": 1047\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Sweden\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Oman\",\n",
       "                    \"value\": 9489\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ukraine\",\n",
       "                    \"value\": 1028\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Israel\",\n",
       "                    \"value\": 2031\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Dominican Republic\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Belgium\",\n",
       "                    \"value\": 22\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Panama\",\n",
       "                    \"value\": 1462\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Kuwait\",\n",
       "                    \"value\": 704\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Belarus\",\n",
       "                    \"value\": 331\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"United Arab Emirates\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Romania\",\n",
       "                    \"value\": 408\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Netherlands\",\n",
       "                    \"value\": 4\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Singapore\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Guatemala\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Portugal\",\n",
       "                    \"value\": 275\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Poland\",\n",
       "                    \"value\": 321\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Honduras\",\n",
       "                    \"value\": 195\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Nigeria\",\n",
       "                    \"value\": 314\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Japan\",\n",
       "                    \"value\": 840\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bahrain\",\n",
       "                    \"value\": 241\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Armenia\",\n",
       "                    \"value\": 706\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ghana\",\n",
       "                    \"value\": 821\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Kyrgyzstan\",\n",
       "                    \"value\": 586\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Afghanistan\",\n",
       "                    \"value\": 98\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Switzerland\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Azerbaijan\",\n",
       "                    \"value\": 435\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Algeria\",\n",
       "                    \"value\": 427\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Morocco\",\n",
       "                    \"value\": 365\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Uzbekistan\",\n",
       "                    \"value\": 609\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Republic of Serbia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Moldova\",\n",
       "                    \"value\": 509\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ireland\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Kenya\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Venezuela\",\n",
       "                    \"value\": 271\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Nepal\",\n",
       "                    \"value\": 233\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Austria\",\n",
       "                    \"value\": 132\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Costa Rica\",\n",
       "                    \"value\": 261\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ethiopia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Australia\",\n",
       "                    \"value\": 205\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"El Salvador\",\n",
       "                    \"value\": 46\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cameroon\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Czech Republic\",\n",
       "                    \"value\": 97\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"C\\u00f4te d'Ivoire\",\n",
       "                    \"value\": 236\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Greenland\",\n",
       "                    \"value\": 35\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"South Korea\",\n",
       "                    \"value\": 95\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Gaza Strip\",\n",
       "                    \"value\": 289\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bosnia and Herzegovina\",\n",
       "                    \"value\": 192\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bulgaria\",\n",
       "                    \"value\": 190\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Madagascar\",\n",
       "                    \"value\": 350\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Sudan\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Macedonia\",\n",
       "                    \"value\": 259\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Senegal\",\n",
       "                    \"value\": 113\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Norway\",\n",
       "                    \"value\": 105\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Dem. Rep. Congo\",\n",
       "                    \"value\": 227\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Malaysia\",\n",
       "                    \"value\": 11\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Gabon\",\n",
       "                    \"value\": 201\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Tajikistan\",\n",
       "                    \"value\": 44\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Guinea\",\n",
       "                    \"value\": 41\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Haiti\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Finland\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Zambia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Luxembourg\",\n",
       "                    \"value\": 86\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mauritania\",\n",
       "                    \"value\": 82\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Paraguay\",\n",
       "                    \"value\": 194\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Albania\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Lebanon\",\n",
       "                    \"value\": 43\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Croatia\",\n",
       "                    \"value\": 99\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Djibouti\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Greece\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Equatorial Guinea\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Central African Rep.\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Hungary\",\n",
       "                    \"value\": 32\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Maldives\",\n",
       "                    \"value\": 13\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Libya\",\n",
       "                    \"value\": 7\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Malawi\",\n",
       "                    \"value\": 31\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Zimbabwe\",\n",
       "                    \"value\": 26\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Nicaragua\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Republic of the Congo\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Montenegro\",\n",
       "                    \"value\": 163\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Thailand\",\n",
       "                    \"value\": 4\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Somalia\",\n",
       "                    \"value\": 130\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Swaziland\",\n",
       "                    \"value\": 127\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Sri Lanka\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cuba\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cape Verde\",\n",
       "                    \"value\": 25\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mali\",\n",
       "                    \"value\": 4\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Namibia\",\n",
       "                    \"value\": 345\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Slovakia\",\n",
       "                    \"value\": 47\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Slovenia\",\n",
       "                    \"value\": 25\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Lithuania\",\n",
       "                    \"value\": 6\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Estonia\",\n",
       "                    \"value\": 6\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Rwanda\",\n",
       "                    \"value\": 15\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mozambique\",\n",
       "                    \"value\": 13\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Suriname\",\n",
       "                    \"value\": 49\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Guinea Bissau\",\n",
       "                    \"value\": 141\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Benin\",\n",
       "                    \"value\": 564\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Iceland\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Sierra Leone\",\n",
       "                    \"value\": 4\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Yemen\",\n",
       "                    \"value\": 31\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Tunisia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"New Zealand\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Angola\",\n",
       "                    \"value\": 3\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Uruguay\",\n",
       "                    \"value\": 17\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Latvia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Jordan\",\n",
       "                    \"value\": 5\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Liberia\",\n",
       "                    \"value\": 6\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Uganda\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Georgia\",\n",
       "                    \"value\": 13\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cyprus\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Burkina Faso\",\n",
       "                    \"value\": 14\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Niger\",\n",
       "                    \"value\": 20\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Togo\",\n",
       "                    \"value\": 17\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Malta\",\n",
       "                    \"value\": 2\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Andorra\",\n",
       "                    \"value\": 3\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Syria\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Chad\",\n",
       "                    \"value\": 21\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Gambia\",\n",
       "                    \"value\": 21\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Jamaica\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Botswana\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"The Bahamas\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Vietnam\",\n",
       "                    \"value\": 11\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Lesotho\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"San Marino\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Guyana\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Tanzania\",\n",
       "                    \"value\": 3\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Burundi\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Comoros\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Myanmar\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mauritius\",\n",
       "                    \"value\": 3\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mongolia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Eritrea\",\n",
       "                    \"value\": 16\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cambodia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Republic of Trinidad and Tobago\",\n",
       "                    \"value\": 8\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Papua New Guinea\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Brunei\",\n",
       "                    \"value\": 9\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Barbados\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Seychelles\",\n",
       "                    \"value\": 2\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Monaco\",\n",
       "                    \"value\": 11\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bhutan\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Antigua and Barbuda\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Liechtenstein\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Belize\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"St. Vincent and the Grenadines\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Martinique\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Fiji\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Democratic Republic of Timor-Leste\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"St. Lucia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Grenada\",\n",
       "                    \"value\": 2\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Laos\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"The Commonwealth of Dominica\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"The Federation of Saint Kitts and Nevis\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Vatican City State\",\n",
       "                    \"value\": 0\n",
       "                }\n",
       "            ],\n",
       "            \"roam\": true,\n",
       "            \"zoom\": 1,\n",
       "            \"showLegendSymbol\": true,\n",
       "            \"emphasis\": {}\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                \"\"\n",
       "            ],\n",
       "            \"selected\": {\n",
       "                \"\": true\n",
       "            },\n",
       "            \"show\": true,\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10,\n",
       "            \"itemWidth\": 25,\n",
       "            \"itemHeight\": 14\n",
       "        }\n",
       "    ],\n",
       "    \"tooltip\": {\n",
       "        \"show\": true,\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"formatter\": \"{b}: {c}\",\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"borderWidth\": 0\n",
       "    },\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"text\": \"\\u4e16\\u754c\\u75ab\\u60c5\\u5206\\u5e03\\u56fe\\uff08\\u65b0\\u589e\\u6cbb\\u6108\\uff09\",\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10\n",
       "        }\n",
       "    ],\n",
       "    \"visualMap\": {\n",
       "        \"show\": true,\n",
       "        \"type\": \"piecewise\",\n",
       "        \"min\": 0,\n",
       "        \"max\": 100,\n",
       "        \"inRange\": {\n",
       "            \"color\": [\n",
       "                \"#50a3ba\",\n",
       "                \"#eac763\",\n",
       "                \"#d94e5d\"\n",
       "            ]\n",
       "        },\n",
       "        \"calculable\": true,\n",
       "        \"inverse\": false,\n",
       "        \"splitNumber\": 5,\n",
       "        \"orient\": \"vertical\",\n",
       "        \"top\": \"center\",\n",
       "        \"showLabel\": true,\n",
       "        \"itemWidth\": 20,\n",
       "        \"itemHeight\": 14,\n",
       "        \"borderWidth\": 0,\n",
       "        \"pieces\": [\n",
       "            {\n",
       "                \"min\": 10000,\n",
       "                \"color\": \"#7f1818\"\n",
       "            },\n",
       "            {\n",
       "                \"min\": 1000,\n",
       "                \"max\": 9999\n",
       "            },\n",
       "            {\n",
       "                \"min\": 500,\n",
       "                \"max\": 999\n",
       "            },\n",
       "            {\n",
       "                \"min\": 100,\n",
       "                \"max\": 499\n",
       "            },\n",
       "            {\n",
       "                \"min\": 0,\n",
       "                \"max\": 99\n",
       "            }\n",
       "        ]\n",
       "    }\n",
       "};\n",
       "                chart_ef812f1d956c4b6e9331852aca1b3af6.setOption(option_ef812f1d956c4b6e9331852aca1b3af6);\n",
       "        });\n",
       "    </script>\n"
      ],
      "text/plain": [
       "<pyecharts.render.display.HTML at 0x2b06381be80>"
      ]
     },
     "execution_count": 11,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "list_data = zip(country_names, list(world_data['新增治愈']))\n",
    "m=(\n",
    "    Map(init_opts=opts.InitOpts(width='1300px',height='800px'))\n",
    "    .add('', list_data, 'world',label_opts=opts.LabelOpts(is_show=False))\n",
    "    .set_global_opts(\n",
    "        title_opts=opts.TitleOpts(title='世界疫情分布图（新增治愈）'),\n",
    "        tooltip_opts=opts.TooltipOpts(formatter='{b}: {c}'),\n",
    "        visualmap_opts=opts.VisualMapOpts(is_piecewise=True,  # 是否为分段型\n",
    "                                          pos_top='center',\n",
    "                                          pieces=[\n",
    "                                              {'min': 10000, 'color': '#7f1818'},  # 不指定 max,\n",
    "                                              {'min': 1000, 'max': 9999},\n",
    "                                              {'min': 500, 'max': 999},\n",
    "                                              {'min': 100, 'max': 499},\n",
    "                                              {'min': 0, 'max': 99}],\n",
    "                                          ),\n",
    "        )\n",
    ")\n",
    "m.render('世界疫情分布图（新增治愈）.html')\n",
    "m.render_notebook()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts':'https://assets.pyecharts.org/assets/echarts.min', 'world':'https://assets.pyecharts.org/assets/maps/world'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "\n",
       "        <div id=\"3427089fde7f46ea87213a1c537066f5\" style=\"width:1300px; height:800px;\"></div>\n",
       "\n",
       "<script>\n",
       "        require(['echarts', 'world'], function(echarts) {\n",
       "                var chart_3427089fde7f46ea87213a1c537066f5 = echarts.init(\n",
       "                    document.getElementById('3427089fde7f46ea87213a1c537066f5'), 'white', {renderer: 'canvas'});\n",
       "                var option_3427089fde7f46ea87213a1c537066f5 = {\n",
       "    \"animation\": true,\n",
       "    \"animationThreshold\": 2000,\n",
       "    \"animationDuration\": 1000,\n",
       "    \"animationEasing\": \"cubicOut\",\n",
       "    \"animationDelay\": 0,\n",
       "    \"animationDurationUpdate\": 300,\n",
       "    \"animationEasingUpdate\": \"cubicOut\",\n",
       "    \"animationDelayUpdate\": 0,\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\"\n",
       "    ],\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"map\",\n",
       "            \"label\": {\n",
       "                \"show\": false,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            },\n",
       "            \"mapType\": \"world\",\n",
       "            \"data\": [\n",
       "                {\n",
       "                    \"name\": \"China\",\n",
       "                    \"value\": 2\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"United States\",\n",
       "                    \"value\": 1311\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Brazil\",\n",
       "                    \"value\": 1437\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"India\",\n",
       "                    \"value\": 904\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Russia\",\n",
       "                    \"value\": 114\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"South Africa\",\n",
       "                    \"value\": 414\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mexico\",\n",
       "                    \"value\": 829\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Peru\",\n",
       "                    \"value\": 221\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Chile\",\n",
       "                    \"value\": 47\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Spain\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Colombia\",\n",
       "                    \"value\": 309\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Iran\",\n",
       "                    \"value\": 174\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"United Kingdom\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Saudi Arabia\",\n",
       "                    \"value\": 35\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Pakistan\",\n",
       "                    \"value\": 21\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bangladesh\",\n",
       "                    \"value\": 39\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Italy\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Turkey\",\n",
       "                    \"value\": 19\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"France\",\n",
       "                    \"value\": 11\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Argentina\",\n",
       "                    \"value\": 126\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Germany\",\n",
       "                    \"value\": 7\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Iraq\",\n",
       "                    \"value\": 67\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Canada\",\n",
       "                    \"value\": 5\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Philippines\",\n",
       "                    \"value\": 27\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Indonesia\",\n",
       "                    \"value\": 69\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Qatar\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Kazakhstan\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Egypt\",\n",
       "                    \"value\": 18\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ecuador\",\n",
       "                    \"value\": 39\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bolivia\",\n",
       "                    \"value\": 65\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Sweden\",\n",
       "                    \"value\": 6\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Oman\",\n",
       "                    \"value\": 71\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ukraine\",\n",
       "                    \"value\": 33\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Israel\",\n",
       "                    \"value\": 5\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Dominican Republic\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Belgium\",\n",
       "                    \"value\": 7\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Panama\",\n",
       "                    \"value\": 31\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Kuwait\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Belarus\",\n",
       "                    \"value\": 3\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"United Arab Emirates\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Romania\",\n",
       "                    \"value\": 45\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Netherlands\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Singapore\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Guatemala\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Portugal\",\n",
       "                    \"value\": 3\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Poland\",\n",
       "                    \"value\": 18\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Honduras\",\n",
       "                    \"value\": 23\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Nigeria\",\n",
       "                    \"value\": 17\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Japan\",\n",
       "                    \"value\": 6\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bahrain\",\n",
       "                    \"value\": 3\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Armenia\",\n",
       "                    \"value\": 2\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ghana\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Kyrgyzstan\",\n",
       "                    \"value\": 9\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Afghanistan\",\n",
       "                    \"value\": 4\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Switzerland\",\n",
       "                    \"value\": 4\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Azerbaijan\",\n",
       "                    \"value\": 3\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Algeria\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Morocco\",\n",
       "                    \"value\": 18\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Uzbekistan\",\n",
       "                    \"value\": 6\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Republic of Serbia\",\n",
       "                    \"value\": 7\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Moldova\",\n",
       "                    \"value\": 5\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ireland\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Kenya\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Venezuela\",\n",
       "                    \"value\": 8\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Nepal\",\n",
       "                    \"value\": 5\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Austria\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Costa Rica\",\n",
       "                    \"value\": 10\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ethiopia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Australia\",\n",
       "                    \"value\": 8\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"El Salvador\",\n",
       "                    \"value\": 15\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cameroon\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Czech Republic\",\n",
       "                    \"value\": 5\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"C\\u00f4te d'Ivoire\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Greenland\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"South Korea\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Gaza Strip\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bosnia and Herzegovina\",\n",
       "                    \"value\": 5\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bulgaria\",\n",
       "                    \"value\": 9\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Madagascar\",\n",
       "                    \"value\": 7\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Sudan\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Macedonia\",\n",
       "                    \"value\": 6\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Senegal\",\n",
       "                    \"value\": 5\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Norway\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Dem. Rep. Congo\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Malaysia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Gabon\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Tajikistan\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Guinea\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Haiti\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Finland\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Zambia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Luxembourg\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mauritania\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Paraguay\",\n",
       "                    \"value\": 2\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Albania\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Lebanon\",\n",
       "                    \"value\": 3\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Croatia\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Djibouti\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Greece\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Equatorial Guinea\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Central African Rep.\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Hungary\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Maldives\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Libya\",\n",
       "                    \"value\": 3\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Malawi\",\n",
       "                    \"value\": 8\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Zimbabwe\",\n",
       "                    \"value\": 3\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Nicaragua\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Republic of the Congo\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Montenegro\",\n",
       "                    \"value\": 4\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Thailand\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Somalia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Swaziland\",\n",
       "                    \"value\": 4\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Sri Lanka\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cuba\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cape Verde\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mali\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Namibia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Slovakia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Slovenia\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Lithuania\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Estonia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Rwanda\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mozambique\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Suriname\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Guinea Bissau\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Benin\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Iceland\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Sierra Leone\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Yemen\",\n",
       "                    \"value\": 2\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Tunisia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"New Zealand\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Angola\",\n",
       "                    \"value\": 3\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Uruguay\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Latvia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Jordan\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Liberia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Uganda\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Georgia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cyprus\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Burkina Faso\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Niger\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Togo\",\n",
       "                    \"value\": 2\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Malta\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Andorra\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Syria\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Chad\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Gambia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Jamaica\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Botswana\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"The Bahamas\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Vietnam\",\n",
       "                    \"value\": 2\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Lesotho\",\n",
       "                    \"value\": 2\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"San Marino\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Guyana\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Tanzania\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Burundi\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Comoros\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Myanmar\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mauritius\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Mongolia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Eritrea\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Cambodia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Republic of Trinidad and Tobago\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Papua New Guinea\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Brunei\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Barbados\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Seychelles\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Monaco\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bhutan\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Antigua and Barbuda\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Liechtenstein\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Belize\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"St. Vincent and the Grenadines\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Martinique\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Fiji\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Democratic Republic of Timor-Leste\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"St. Lucia\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Grenada\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Laos\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"The Commonwealth of Dominica\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"The Federation of Saint Kitts and Nevis\",\n",
       "                    \"value\": 0\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Vatican City State\",\n",
       "                    \"value\": 0\n",
       "                }\n",
       "            ],\n",
       "            \"roam\": true,\n",
       "            \"zoom\": 1,\n",
       "            \"showLegendSymbol\": true,\n",
       "            \"emphasis\": {}\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                \"\"\n",
       "            ],\n",
       "            \"selected\": {\n",
       "                \"\": true\n",
       "            },\n",
       "            \"show\": true,\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10,\n",
       "            \"itemWidth\": 25,\n",
       "            \"itemHeight\": 14\n",
       "        }\n",
       "    ],\n",
       "    \"tooltip\": {\n",
       "        \"show\": true,\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"formatter\": \"{b}: {c}\",\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"borderWidth\": 0\n",
       "    },\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"text\": \"\\u4e16\\u754c\\u75ab\\u60c5\\u5206\\u5e03\\u56fe\\uff08\\u65b0\\u589e\\u6b7b\\u4ea1\\uff09\",\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10\n",
       "        }\n",
       "    ],\n",
       "    \"visualMap\": {\n",
       "        \"show\": true,\n",
       "        \"type\": \"piecewise\",\n",
       "        \"min\": 0,\n",
       "        \"max\": 100,\n",
       "        \"inRange\": {\n",
       "            \"color\": [\n",
       "                \"#50a3ba\",\n",
       "                \"#eac763\",\n",
       "                \"#d94e5d\"\n",
       "            ]\n",
       "        },\n",
       "        \"calculable\": true,\n",
       "        \"inverse\": false,\n",
       "        \"splitNumber\": 5,\n",
       "        \"orient\": \"vertical\",\n",
       "        \"top\": \"center\",\n",
       "        \"showLabel\": true,\n",
       "        \"itemWidth\": 20,\n",
       "        \"itemHeight\": 14,\n",
       "        \"borderWidth\": 0,\n",
       "        \"pieces\": [\n",
       "            {\n",
       "                \"min\": 1000,\n",
       "                \"color\": \"#7f1818\"\n",
       "            },\n",
       "            {\n",
       "                \"min\": 500,\n",
       "                \"max\": 999\n",
       "            },\n",
       "            {\n",
       "                \"min\": 100,\n",
       "                \"max\": 499\n",
       "            },\n",
       "            {\n",
       "                \"min\": 0,\n",
       "                \"max\": 99\n",
       "            }\n",
       "        ]\n",
       "    }\n",
       "};\n",
       "                chart_3427089fde7f46ea87213a1c537066f5.setOption(option_3427089fde7f46ea87213a1c537066f5);\n",
       "        });\n",
       "    </script>\n"
      ],
      "text/plain": [
       "<pyecharts.render.display.HTML at 0x2b0638d5518>"
      ]
     },
     "execution_count": 12,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "list_data = zip(country_names, list(world_data['新增死亡']))\n",
    "m=(\n",
    "    Map(init_opts=opts.InitOpts(width='1300px',height='800px'))\n",
    "    .add('', list_data, 'world',label_opts=opts.LabelOpts(is_show=False))\n",
    "    .set_global_opts(\n",
    "        title_opts=opts.TitleOpts(title='世界疫情分布图（新增死亡）'),\n",
    "        tooltip_opts=opts.TooltipOpts(formatter='{b}: {c}'),\n",
    "        visualmap_opts=opts.VisualMapOpts(is_piecewise=True,  # 是否为分段型\n",
    "                                          pos_top='center',\n",
    "                                          pieces=[\n",
    "                                              {'min': 1000, 'color': '#7f1818'},  # 不指定 max\n",
    "                                              {'min': 500, 'max': 999},\n",
    "                                              {'min': 100, 'max': 499},\n",
    "                                              {'min': 0, 'max': 99}],\n",
    "                                          ),\n",
    "        )\n",
    ")\n",
    "m.render('世界疫情分布图（新增死亡）.html')\n",
    "m.render_notebook()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "###世界疫情分布图（新增死亡），新增死亡人数达到1000以上的有两个国家，美国：1311人，巴西：1437人\n",
    "###世界大部分国家新增死亡人数在0-99之间"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.4"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}
